summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-08-21 11:22:20 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-28 17:58:19 +0300
commit8a56da7c28765ba967dd14789e0dbbc847cb8f6e (patch)
tree6d27a014db267f27630bbbea2490007461ec4a4a /meta-phosphor/common/recipes-phosphor
parenta974b4759eca1f5f956c0e0b3ff8bbf30e120155 (diff)
downloadopenbmc-8a56da7c28765ba967dd14789e0dbbc847cb8f6e.tar.xz
phosphor-software-manager: Add ACTIVE_BMC_MAX_ALLOWED config
For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because it has only one active BMC image; For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs assumes there are two BMC images by default. Resolves openbmc/phosphor-bmc-code-mgmt#2 Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus build, and set to 2 for Witherspoon build. (From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e) Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
index eb2468d925..0b6723c898 100644
--- a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
+++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -57,6 +57,7 @@ RDEPENDS_${PN}-updater += " \
virtual-obmc-image-manager \
"
EXTRA_OECONF += " \
+ ACTIVE_BMC_MAX_ALLOWED=1 \
MEDIA_DIR=/run/media \
"