Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 1 | # 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 | |
| 5 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid |
| 6 | |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 7 | part swap --size 44 --label swap --fstype=swap --use-uuid |
| 8 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 9 | part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid |
| 10 | |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 11 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4" |