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.
gentoo
Dustin 2023-03-30 09:13:12 -05:00
parent 80077a7934
commit b312649a50
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ image firmware.img {
image sdcard.img { image sdcard.img {
hdimage { hdimage {
partition-table-type = hybrid partition-table-type = hybrid
align = 1M
} }
partition "EFI System Partition" { partition "EFI System Partition" {