blob: 61902dfdad8542c7b95ed2ae2495ec962ef4cc89 [file] [log] [blame]
Patrick Williams39653562024-03-01 08:54:02 -06001# 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
6part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid
7
8part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
9
10bootloader --ptable gpt --timeout=1 --append="${GRUB_LINUX_APPEND}"