meta-facebook: Apply power policy on every BMC boot
Upstream changes in the phosphor-state-manager (PSM) modified the behavior
of the power restore policy, causing it to be applied only during a
Power-On Reset (POR).
Enable the `run-apr-on-watchdog-reset` option to restore the previous
behavior where the power policy is applied on every BMC boot.
Change-Id: Icb1ea02f72078118dd55c7c37e403dc1dd817fe2
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
diff --git a/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index a9fcfe7..7ab0419 100644
--- a/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -1,6 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PACKAGECONFIG:remove = "install-utils"
+PACKAGECONFIG:append = " run-apr-on-watchdog-reset"
HOST_DEFAULT_TARGETS:append = " \
obmc-host-shutdown@{}.target.wants/host-poweroff@{}.service \