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.
This commit is contained in:
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user