commit | 3e62b0dafca79082bb312990475d7c52527d7a2f | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Jul 27 14:28:19 2017 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Fri Aug 18 11:48:41 2017 -0500 |
tree | 7fb224505c5d723455f864f55a9819394defd5eb | |
parent | 6edb67dcfc3b414e7f9e349ea31631b3e79a6c70 [diff] |
obmc-phosphor-image: remove initramfs if obmc-ubi-fs enabled Change-Id: Ie064ea9595742b78ccb7fe8a59c923b147ebfff6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc index 63c5e1a..3c6bbc9 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 @@ 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"