diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-06-20 13:52:16 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-06-24 15:22:18 -0500 |
commit | 1a58e265d500c6f5d7f36da5f898c6aaf620a5bf (patch) | |
tree | e9f477fda747a66ef811cd4d2b722394cab359bd /meta-phosphor/common | |
parent | 205469475226853ec068be3c75819d745c3d0ccf (diff) | |
download | talos-openbmc-1a58e265d500c6f5d7f36da5f898c6aaf620a5bf.tar.gz talos-openbmc-1a58e265d500c6f5d7f36da5f898c6aaf620a5bf.zip |
meta-phosphor: Ensure INITRAMFS_CTYPE defined
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.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r-- | meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
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 90a1c3f6c..5710d22c4 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}" |