[PATCH openbmc v5 05/11] meta-phosphor: Ensure INITRAMFS_CTYPE defined

Joel Stanley joel at jms.id.au
Fri Jun 24 12:53:15 AEST 2016


On Fri, Jun 24, 2016 at 6:10 AM, OpenBMC Patches
<openbmc-patches at stwcx.xyz> wrote:
> From: Patrick Williams <patrick at stwcx.xyz>
>
> The hardware platforms use obmc-bsp-common.inc, which defines
> INITRAMFS_CTYPE, but the simulation (qemu) platforms do not.
> core-image-minimal-initramfs.bbappend currrently uses INITRAMFS_CTYPE
> so we need to make sure it is defined.  Default there to 'lzma' if not
> already defined.
>

Should it default to none if it's not defined? How do we make sure the
kernel has decompression for this type enabled?

> Signed-off-by: Patrick Williams <patrick at stwcx.xyz>

Acked-by: Joel Stanley <joel at jms.id.au>


> ---
>  .../common/recipes-core/images/core-image-minimal-initramfs.bbappend     | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend b/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend
> index 90a1c3f..5710d22 100644
> --- a/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend
> +++ b/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend
> @@ -1,3 +1,4 @@
>  PACKAGE_INSTALL_remove = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi"
>  PACKAGE_INSTALL += "obmc-phosphor-initfs"
> +INITRAMFS_CTYPE ?= "lzma"
>  INITRAMFS_FSTYPES = "cpio.${INITRAMFS_CTYPE}"
> --
> 2.9.0
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list