2016-04-16 17:23:20 +02:00
|
|
|
# Create an image of the efi partition
|
|
|
|
image efi-part.vfat {
|
|
|
|
vfat {
|
|
|
|
file EFI {
|
|
|
|
image = "efi-part/EFI"
|
|
|
|
}
|
|
|
|
file bzImage {
|
|
|
|
image = "bzImage"
|
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:42:04 +01:00
|
|
|
|
2016-04-16 17:23:20 +02:00
|
|
|
size=10M
|
|
|
|
}
|
|
|
|
|
|
|
|
# Create the sdcard image, pulling in
|
|
|
|
# * the image created by buildroot
|
|
|
|
# * the efi-partition created above
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
2021-01-30 11:19:13 +01:00
|
|
|
gpt = true
|
2016-04-16 17:23:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
2021-01-30 11:19:13 +01:00
|
|
|
partition-type-uuid = U
|
2016-04-16 17:23:20 +02:00
|
|
|
image = "efi-part.vfat"
|
|
|
|
}
|
|
|
|
|
|
|
|
partition rootfs {
|
2021-01-30 11:19:13 +01:00
|
|
|
partition-type-uuid = L
|
2016-04-16 17:23:20 +02:00
|
|
|
image = "rootfs.ext4"
|
|
|
|
size = 512M
|
|
|
|
}
|
|
|
|
}
|