diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-10-31 15:15:29 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-01 07:55:40 +0000 |
commit | 1b57456064b33a5838882909d26f92c00982a0a0 (patch) | |
tree | 779f08ecc748ba03645563391fa195363a48ad37 /meta-intel-extras/wic | |
parent | dd7ede32632c6452c10aa424800c60a09cc42c8a (diff) | |
download | meta-boot2qt-1b57456064b33a5838882909d26f92c00982a0a0.tar.gz |
intel: rework initramfs support
The WKS image creation ignored our old initramfs. Change to using
an existing core-image-minimal-initramfs recipe and extend it with
support for the internal MMC reader. Add separate recipe to combine
the intel microcode and the new initramfs, and add wks file to use it.
Remove all old recipes that are no longer used.
Change-Id: I4e1f244685a7f2bd304aa23d9e07580fa9dc9652
Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-intel-extras/wic')
-rw-r--r-- | meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks new file mode 100644 index 0000000..4907631 --- /dev/null +++ b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.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-initramfs" --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" | ||