meta-intel: Ensure we pass the microcode as initrd in wic images 53/12453/2
authorTom Rini <trini@konsulko.com>
Tue, 12 Dec 2017 02:02:54 +0000 (21:02 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 13 Dec 2017 22:52:23 +0000 (22:52 +0000)
We need to ensure that the microcode is passed to the kernel as an
initrd to allow for application of required updates.

Bug-AGL: SPEC-1173
Change-Id: I37a2ca401df9a9c17cf2d3a60151af639a3aba28
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12453
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/wic/systemd-intel-corei7-64-bootdisk.wks
meta-agl-bsp/wic/systemd-joule-bootdisk.wks

index 828969b..605d622 100644 (file)
@@ -3,7 +3,7 @@
 # can directly dd to boot media. The selected bootloader is systemd-boot
 # and we do not have swap
 
-part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024
 
 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
 
index ab75beb..87b006f 100644 (file)
@@ -4,7 +4,7 @@
 # and we do not have swap.  We assume a Joule system and provide an
 # appropriate kernel command line.
 
-part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024
 
 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid