summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/conf/machine/include/obmc-bsp-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
index 63c5e1ab9..3c6bbc97c 100644
--- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
+++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
@@ -15,7 +15,8 @@ OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
INITRAMFS_CTYPE ?= "lzma"
INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
-INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
+INITRAMFS_IMAGE = "${@bb.utils.contains('MACHINE_FEATURES', \
+ 'obmc-ubi-fs', '', 'obmc-phosphor-initramfs', d)}"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
OpenPOWER on IntegriCloud