[meta-intel] [PATCH 09/10] core-image-minimal-initramfs: extend to support early microcode loading

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jun 24 02:18:39 PDT 2014


On Fri, 2014-06-20 at 11:52 -0700, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> Consumes the intel-earlyload-microcode-image to generate an initrd which is
> extended with the earlyload microcode support.
> 
> This recipe now generates this additional initrd image:
>   core-image-minimal-initramfs-${MACHINE}.cpio.gz.ucode
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  common/recipes-core/images/core-image-minimal-initramfs.bbappend | 3 +++
>  1 file changed, 3 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..ee3e18d
> --- /dev/null
> +++ b/common/recipes-core/images/core-image-minimal-initramfs.bbappend
> @@ -0,0 +1,3 @@
> +inherit image-ucode
> +
> +IMAGE_FSTYPES = "cpio.gz.ucode"

This takes effect for *all* machines/distros and is therefore not an
acceptable thing to be doing, at the very least this needs to be x86
only using some form of override. 

It again makes me think that using image generation for that image type
is perhaps not the best option...

Cheers,

Richard



More information about the meta-intel mailing list