Files
infix/board/common/genimage.cfg.in
T
Tobias Waldekranz f3304a6539 common: Unify disk image generation across aarch64 and amd64
On amd64, we use grub instead of U-Boot, because yours truly can't
figure out how to handle ACPI handover to the kernel.

The resulting image is now called disk.img instead of the old mmc.img,
since we can use it over any interface (e.g. virtio or SCSI).
2023-03-13 09:57:03 +01:00

67 lines
740 B
Plaintext

@BOOTIMG@
image aux.ext4 {
mountpoint = "/aux"
temporary = true
size = @AUXSIZE@
ext4 {
label = "aux"
}
}
image cfg.ext4 {
empty = true
temporary = true
size = @CFGSIZE@
ext4 {
label = "cfg"
}
}
image var.ext4 {
empty = true
temporary = true
size = @VARSIZE@
ext4 {
label = "var"
}
}
image disk.img {
size = @TOTALSIZE@
hdimage {
partition-table-type = "gpt"
}
@BOOTPART@
partition aux {
offset = @AUXOFFS@
image = "aux.ext4"
}
partition primary {
image = "rootfs.squashfs"
size = @IMGSIZE@
}
partition secondary {
image = "rootfs.squashfs"
size = @IMGSIZE@
}
partition cfg {
image = "cfg.ext4"
}
partition var {
image = "var.ext4"
}
}
# Silence genimage warnings
config {}