blob: 417d4d88104e33e7fc6bad01b28201ac77787ea3 [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
7part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
8
9part swap --size 44 --label swap --fstype=swap --use-uuid
10
11bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"