diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2018-04-13 12:58:23 -0700 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-04-13 16:41:13 -0700 |
commit | 4471c6835a59d1e5c70f0ddcb27e1e9913273ff0 (patch) | |
tree | b492e04860d8e0c2c1f44d27ddfe94fb0a934b8c /wic | |
parent | bc31dbbd404d8fda58ea770422dbaf11de40ebee (diff) | |
download | meta-intel-4471c6835a59d1e5c70f0ddcb27e1e9913273ff0.tar.gz |
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>
Diffstat (limited to 'wic')
-rw-r--r-- | wic/systemd-bootdisk-microcode.wks | 13 |
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 @@ | |||
1 | # short-description: Create an EFI disk image with systemd-boot | ||
2 | # long-description: Creates a partitioned EFI disk image that the user | ||
3 | # can directly dd to boot media. The selected bootloader is systemd-boot. | ||
4 | # It also includes intel-microcode as an initrd for early update support. | ||
5 | # Based on OE-core's systemd-bootdisk.wks file. | ||
6 | |||
7 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid | ||
8 | |||
9 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
10 | |||
11 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid | ||
12 | |||
13 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0" | ||