summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2023-06-30 22:19:11 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-07-05 18:36:45 +0300
commit55340ebf5586d8aeb37d02d4c99f31ecbc85749b (patch)
tree4b9b2e532a5b19494f34e152a4af6024413f6277
parent2b20edf8b74f5044679c48afb8735863cd98a055 (diff)
downloadopenbmc-55340ebf5586d8aeb37d02d4c99f31ecbc85749b.tar.xz
phosphor-state-manager: fix bmc ready boot config
Noticed the following warning recently: ``` do_configure: QA Issue: phosphor-state-manager: invalid PACKAGECONFIG: only-allow-boot-when-bmc-ready [invalid-packageconfig] ``` This is because the PACKAGECONFIG used by the bbappend to enable this new feature did not match with what was in the recipe. Update the base recipe to define it as was meant initially. Tested: - Confirmed no more warning Change-Id: I4b76ec761a44013467a2129a992df6d69ea8f1e7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb
index 897a7ce8b5..048a71a773 100644
--- a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb
@@ -37,7 +37,7 @@ SYSTEMD_PACKAGES = "${PN}-discover \
PACKAGECONFIG ??= "no-warm-reboot \
only-run-apr-on-power-loss \
- only-boot-when-bmc-ready"
+ only-allow-boot-when-bmc-ready"
# Disable warm reboots of host
PACKAGECONFIG[no-warm-reboot] = "-Dwarm-reboot=disabled,-Dwarm-reboot=enabled"
@@ -46,7 +46,7 @@ PACKAGECONFIG[no-warm-reboot] = "-Dwarm-reboot=disabled,-Dwarm-reboot=enabled"
PACKAGECONFIG[only-run-apr-on-power-loss] = "-Donly-run-apr-on-power-loss=true,-Donly-run-apr-on-power-loss=false"
# Only allow boot operations when BMC is in Ready state
-PACKAGECONFIG[only-boot-when-bmc-ready] = "-Donly-allow-boot-when-bmc-ready=true,-Donly-allow-boot-when-bmc-ready=false"
+PACKAGECONFIG[only-allow-boot-when-bmc-ready] = "-Donly-allow-boot-when-bmc-ready=true,-Donly-allow-boot-when-bmc-ready=false"
# The host-check function will check if the host is running
# after a BMC reset.