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