summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-06-04 08:00:42 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2018-06-04 08:00:42 (GMT)
commit902d162d3e5c8fa33d2d617e02320e64c7e58b03 (patch)
tree018a3f13b97703cbb2002e86ee5d43dcabd061e1 /wic
parentef94155d9e68a91805ab0a45fcce2a136788f017 (diff)
downloadmeta-intel-902d162d3e5c8fa33d2d617e02320e64c7e58b03.tar.gz
wic: add wks for enabling grub-efi bootloader
Use our own wks when grub-efi is used and make sure that microcode is early loaded. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/grub-bootdisk-microcode.wks12
1 files changed, 12 insertions, 0 deletions
diff --git a/wic/grub-bootdisk-microcode.wks b/wic/grub-bootdisk-microcode.wks
new file mode 100644
index 0000000..7eda376
--- /dev/null
+++ b/wic/grub-bootdisk-microcode.wks
@@ -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="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"