diff options
| author | Ross Burton <ross.burton@intel.com> | 2019-03-04 21:13:30 +0000 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-03-07 09:47:19 +0800 |
| commit | b5a428bc6be7e1c02ca7d0714e0a5d25f31b4a5f (patch) | |
| tree | d3812b48eac123d19b221d6d95d3b650d3b07028 /wic/systemd-bootdisk-microcode.wks.in | |
| parent | a0f0731eaa0112217c1bad63cb935d4c2283bd35 (diff) | |
| download | meta-intel-b5a428bc6be7e1c02ca7d0714e0a5d25f31b4a5f.tar.gz | |
wic: pass APPEND to bootloader
Rename the systemd and grub-efi .wks files to .wks.in, and replace all 'append'
entries apart from rootfstype (which is specific to the wks file) with
${APPEND}, so the values of APPEND from the BSP and user is respected.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'wic/systemd-bootdisk-microcode.wks.in')
| -rw-r--r-- | wic/systemd-bootdisk-microcode.wks.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wic/systemd-bootdisk-microcode.wks.in b/wic/systemd-bootdisk-microcode.wks.in new file mode 100644 index 00000000..03528950 --- /dev/null +++ b/wic/systemd-bootdisk-microcode.wks.in | |||
| @@ -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="rootfstype=ext4 ${APPEND}" | ||
