This repository has been archived on 2025-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
home-assistant-yellow/genimage.cfg
Dustin C. Hatch b312649a50 genimage: Fix partition alignment
`genimage` does not align partitions appropriately by default, but
simply packs them one-after-another based on their size.  This is easy
enough to fix by setting the `align` property in the `hdimage` block.
2023-03-30 09:31:12 -05:00

42 lines
564 B
INI

# vim: set sw=4 ts=4 sts=4 :
image firmware.img {
vfat {
}
srcpath = "efi-part"
size = 32M
}
image sdcard.img {
hdimage {
partition-table-type = hybrid
align = 1M
}
partition "EFI System Partition" {
partition-type = 0xC
partition-type-uuid = "U"
bootable = true
image = "firmware.img"
}
partition rootfs-a {
partition-type-uuid = "L"
image = "rootfs.squashfs"
size = 512M
}
partition rootfs-b {
partition-type-uuid = "L"
size = 512M
}
partition dch-data {
partition-type-uuid = "L"
autoresize = true
}
size = 4G
}