summaryrefslogtreecommitdiffstats
path: root/wic/grub-bootdisk-microcode.wks.in
diff options
context:
space:
mode:
Diffstat (limited to 'wic/grub-bootdisk-microcode.wks.in')
-rw-r--r--wic/grub-bootdisk-microcode.wks.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/wic/grub-bootdisk-microcode.wks.in b/wic/grub-bootdisk-microcode.wks.in
new file mode 100644
index 0000000..d83b1df
--- /dev/null
+++ b/wic/grub-bootdisk-microcode.wks.in
@@ -0,0 +1,12 @@
1# short-description: Create an EFI disk image with grub-efi
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is grub-efi.
4# It also includes intel-microcode as an initrd for early update support.
5
6part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
7
8part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
9
10part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
11
12bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 ${APPEND}"