meta-ibm: phosphor-state-manager: APR on power loss only
This option was added to phosphor-state-manager quite a while back via
bcbee4a but never set within meta-ibm. By default, all IBM systems
should only run APR when an AC power loss has occurred.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Id374781f3c07b019337b1d124ce9d4f3efb7f838
diff --git a/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 470b8db..79eff39 100644
--- a/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -1,5 +1,8 @@
EXTRA_OEMESON:append:witherspoon = " -Dwarm-reboot=disabled"
+# IBM systems only want power restore when AC loss occurred
+EXTRA_OEMESON:append = " -Donly-run-apr-on-power-loss=true"
+
# The scheduled-host-transition package provides support to
# schedule power on and off operations for the host at some
# time in the future. IBM systems will utilize this feature