summaryrefslogtreecommitdiff
path: root/meta-ampere
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2024-02-13 17:19:07 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2024-02-14 05:32:45 +0300
commitff334361dea9d33698d394c951caa4d0e927a47c (patch)
tree19b4e19b41c582187f6a39fad7b0a6f4e70095ec /meta-ampere
parent4a4214a297cdf81fd5a80548bcb6d95455f2866a (diff)
downloadopenbmc-ff334361dea9d33698d394c951caa4d0e927a47c.tar.xz
meta-ampere: phosphor-state-manager: prefer PACKAGECONFIG
There is a preference in Yocto recipes for using PACAKGECONFIG instead of EXTRA_OEMESON-style config. The phosphor-state-manager recipe seems to be missing PACKAGECONFIG settings for some of the options being applied by meta-ampere, but it does have one for `only-run-apr-on-power-loss` so leverage that. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id91c1e53679409349e5ef681194e83f0237dd610
Diffstat (limited to 'meta-ampere')
-rw-r--r--meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 74c1ba8ebf..9a5cde2895 100644
--- a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -5,8 +5,8 @@ DEPENDS += "gpioplus libgpiod"
EXTRA_OEMESON:append = " \
-Dhost-gpios=enabled \
-Dboot-count-max-allowed=1 \
- -Donly-run-apr-on-power-loss=true \
"
+PACKAGECONFIG:append = "only-run-apr-on-power-loss"
FILES:${PN} += "${systemd_system_unitdir}/*"
FILES:${PN}-host += "${bindir}/phosphor-host-condition-gpio"