1# Create an image of the efi partition 2image efi-part.vfat { 3 vfat { 4 file EFI { 5 image = "efi-part/EFI" 6 } 7 file bzImage { 8 image = "bzImage" 9 } 10 } 11 12 size=10M 13} 14 15# Create the sdcard image, pulling in 16# * the image created by buildroot 17# * the efi-partition created above 18image sdcard.img { 19 hdimage { 20 gpt = true 21 } 22 23 partition boot { 24 partition-type-uuid = U 25 image = "efi-part.vfat" 26 } 27 28 partition rootfs { 29 partition-type-uuid = L 30 image = "rootfs.ext4" 31 size = 512M 32 } 33} 34