diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2021-02-04 23:27:57 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-02-10 03:48:03 +0300 |
commit | 0b7e3d6e2382f6836f151ae9a7a956b9b177608e (patch) | |
tree | e63cb510db21bba58d36240d34c876f33bd0565c | |
parent | 14c44a7b58c819ae550dda6fd298115503820a7e (diff) | |
download | openbmc-0b7e3d6e2382f6836f151ae9a7a956b9b177608e.tar.xz |
power-restore: define new one_time property
IBM has a use case where it wishes to utilize the power-restore
functionality for a firmware update path. A firmware update
is initiated through the host operating system. Once it has completed
writing the BMC flash, the host wants to initiated a power off of the
system, a reboot of the BMC, and then an automatic power on of the host.
Instead of writing special software to handle this automatic boot of the
host after the BMC has rebooted, lets utilize a one_time setting within
the power-restore logic.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I4964004e3b1827853ff00437172196e4fbbfcc46
-rw-r--r-- | meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml index f2df02d32..32b32e840 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml @@ -58,6 +58,12 @@ PowerRestorePolicy: Default: RestorePolicy::Policy::AlwaysOff +/xyz/openbmc_project/control/host0/power_restore_policy/one_time: + - Interface: xyz.openbmc_project.Control.Power.RestorePolicy + Properties: + PowerRestorePolicy: + Default: RestorePolicy::Policy::AlwaysOff + /xyz/openbmc_project/time/sync_method: - Interface: xyz.openbmc_project.Time.Synchronization Properties: |