aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-13 12:58:23 -0700
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-17 14:13:19 -0700
commit83d31356602172bb86c2eb5b83d81c301b1baaf9 (patch)
tree371de1a708392c019e88c4e1947b0b406abd64d4
parentfe45bbfe7cc85c88e0d190b3e9dcdf46d089df28 (diff)
downloadmeta-intel-83d31356602172bb86c2eb5b83d81c301b1baaf9.tar.gz
meta-intel-83d31356602172bb86c2eb5b83d81c301b1baaf9.tar.bz2
meta-intel-83d31356602172bb86c2eb5b83d81c301b1baaf9.zip
wic: add systemd-bootdisk-microcode.wks
Add wic kickstart file that includes microcode as an initrd for early update support. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> (cherry picked from commit 4471c6835a59d1e5c70f0ddcb27e1e9913273ff0) Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r--wic/systemd-bootdisk-microcode.wks13
1 files changed, 13 insertions, 0 deletions
diff --git a/wic/systemd-bootdisk-microcode.wks b/wic/systemd-bootdisk-microcode.wks
new file mode 100644
index 00000000..c171fd8e
--- /dev/null
+++ b/wic/systemd-bootdisk-microcode.wks
@@ -0,0 +1,13 @@
+# short-description: Create an EFI disk image with systemd-boot
+# long-description: Creates a partitioned EFI disk image that the user
+# can directly dd to boot media. The selected bootloader is systemd-boot.
+# It also includes intel-microcode as an initrd for early update support.
+# Based on OE-core's systemd-bootdisk.wks file.
+
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
+
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+
+part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
+
+bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"