On Fri, 2014-07-18 at 17:18 -0700, [email protected] wrote: > From: Nitin A Kamble <[email protected]> > > If the microcode support is enabled in the license flags, then consume the > microcode.cpio to generate an initrd which is extended with the earlyload > microcode support. > > This recipe now can optionally generate this additional initrd image: > core-image-minimal-initramfs-${MACHINE}.cpio.gz.ucode > > Signed-off-by: Nitin A Kamble <[email protected]> > --- > common/recipes-core/images/core-image-minimal-initramfs.bbappend | 4 ++++ > 1 file changed, 4 insertions(+) > create mode 100644 > common/recipes-core/images/core-image-minimal-initramfs.bbappend > > diff --git a/common/recipes-core/images/core-image-minimal-initramfs.bbappend > b/common/recipes-core/images/core-image-minimal-initramfs.bbappend > new file mode 100644 > index 0000000..1592630 > --- /dev/null > +++ b/common/recipes-core/images/core-image-minimal-initramfs.bbappend > @@ -0,0 +1,4 @@ > +inherit image-ucode > + > +# if the microcode support is enabled, then build the microcode enabled > initrd > +IMAGE_FSTYPES .= "${@['', '.ucode']['license_intel-microcode' in > d.getVar('LICENSE_FLAGS_WHITELIST', True)]}"
Nearly there but this also needs to check if this is an x86 BSP. There is no point in adding this to an ARM image for example. "x86" in OVERRIDES might be a good check iirc. Cheers, Richard -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
