![Peter Korsgaard](/assets/img/avatar_default.png)
Genimage 15 deprecated the gpt option and now prints a warning when it is used: INFO: hdimage(sdcard.img): The option 'gpt' is deprecated. Use 'partition-table-type' instead So change the genimage configuration files to use that instead. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
34 lines
512 B
INI
34 lines
512 B
INI
# Create an image of the efi partition
|
|
image efi-part.vfat {
|
|
vfat {
|
|
file EFI {
|
|
image = "efi-part/EFI"
|
|
}
|
|
file bzImage {
|
|
image = "bzImage"
|
|
}
|
|
}
|
|
|
|
size = 10M
|
|
}
|
|
|
|
# Create the sdcard image, pulling in
|
|
# * the image created by buildroot
|
|
# * the efi-partition created above
|
|
image sdcard.img {
|
|
hdimage {
|
|
partition-table-type = "gpt"
|
|
}
|
|
|
|
partition boot {
|
|
partition-type-uuid = U
|
|
image = "efi-part.vfat"
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type-uuid = L
|
|
image = "rootfs.ext4"
|
|
size = 512M
|
|
}
|
|
}
|