blob: ee7da87ded82417b4919593002828359f57d8a9d [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001# short-description: Create an EFI disk image
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media.
4
5part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid
6
Patrick Williamsb58112e2024-03-07 11:16:36 -06007part swap --size 44 --label swap --fstype=swap --use-uuid
8
Patrick Williams03514f12024-04-05 07:04:11 -05009part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
10
Patrick Williamsb58112e2024-03-07 11:16:36 -060011bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"