From 16bb75ab834584553cdb2c06c0ce0394fe19e5bd Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 9 Jun 2023 14:34:42 -0400 Subject: phosphor-state-manager: add PACKAGECONFIG options Clearly define the optional features and their defaults within the PSM repo. Change-Id: Ibf466d9319b4176c816ef22c4cdbfd8cd693a90b Signed-off-by: Andrew Geissler --- meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'meta-ibm') diff --git a/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend index 5c5a580210..0c5e914726 100644 --- a/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend +++ b/meta-ibm/recipes-phosphor/state/phosphor-state-manager_%.bbappend @@ -1,10 +1,11 @@ -EXTRA_OEMESON:append:witherspoon = " -Dwarm-reboot=disabled" +# Witherspoon system does not support warm reboots +PACKAGECONFIG:append:witherspoon = " no-warm-reboot" # IBM systems only want power restore when AC loss occurred -EXTRA_OEMESON:append = " -Donly-run-apr-on-power-loss=true" +PACKAGECONFIG:append = " only-run-apr-on-power-loss" # IBM systems only allow boot operations when BMC is Ready -EXTRA_OEMESON:append = " -Donly-allow-boot-when-bmc-ready=true" +PACKAGECONFIG:append = " only-allow-boot-when-bmc-ready" # The scheduled-host-transition package provides support to # schedule power on and off operations for the host at some -- cgit v1.2.3