genimage.cfg 550 B

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