Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 1 | # short-description: Create an EFI disk image without a swap partition |
| 2 | # long-description: Creates a partitioned EFI disk image that the user |
| 3 | # can directly dd to boot media. This image will not contain a swap |
| 4 | # partition but will contain custom machine specific grub arguments. |
| 5 | |
| 6 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid |
| 7 | |
| 8 | part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid |
| 9 | |
| 10 | bootloader --ptable gpt --timeout=1 --append="${GRUB_LINUX_APPEND}" |