1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-17 23:54:06 +01:00
Files
operating-system/buildroot-external/genimage/genimage.cfg
Jan Čermák 6135ecdcc7 Use Genimage for declarative image layout (#3388)
* Use Genimage for declarative image layout instead of s[fg]disk and dd

* Change partition type to hybrid for M1, M1S and Green

This is what it really is, so just make sure only one "fix" function is
called.

* Change efi BOOT_SYS to gpt

There is no reason to have separate efi and boot sys, since all boards
that use efi also use grub as the loader.

* Change BOOT_SYS to more explanatory PARTITION_TABLE_TYPE

* Add units to DISK_SIZE

* Add forced-primary patch and use it in MBR images

* Avoid disabling SC2155, remove old comments
2024-06-07 13:44:14 +02:00

16 lines
313 B
INI

include("images-os.cfg")
image "${IMAGE_NAME}.img" {
size = "${DISK_SIZE:-2G}"
include("hdimage-${PARTITION_TABLE_TYPE}.cfg")
include("partition-spl-${BOOT_SPL_TYPE}.cfg")
include("partitions-os-${PARTITION_TABLE_TYPE}.cfg")
}
image "${IMAGE_NAME}.raucb" {
include("image-raucb-${BOOT_SPL_TYPE}.cfg")
}