summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-06-20 13:52:16 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-06-24 15:22:18 -0500
commit1a58e265d500c6f5d7f36da5f898c6aaf620a5bf (patch)
treee9f477fda747a66ef811cd4d2b722394cab359bd /meta-phosphor/common
parent205469475226853ec068be3c75819d745c3d0ccf (diff)
downloadtalos-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.bbappend1
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}"
OpenPOWER on IntegriCloud