summaryrefslogtreecommitdiff
path: root/poky/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorDelphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>2023-12-20 04:07:16 +0300
committerPatrick Williams <patrick@stwcx.xyz>2024-01-04 06:11:25 +0300
commit3a36a0f215c6143126315b48be23681a7c106f39 (patch)
treee3b6829689ec9c513c69a7cb3df6d6df393d71b0 /poky/scripts/lib/recipetool/create_buildsys_python.py
parenta01b4dd3935ae229262ce44b1dbb4212c58e07ca (diff)
downloadopenbmc-3a36a0f215c6143126315b48be23681a7c106f39.tar.xz
meta-facebook: yosemite4: Support power policy
There are three power policy options: AlwaysOn, AlwaysOff, and Restore. After the system AC returns, the service `phosphor-discover-system-state` would get the property `PowerRestorePolicy` under `/xyz/openbmc_project/ control/host{id}/power_restore_policy` to do its power policy. The power policy also needs to be done after chassis power returns. Support restarting the `phosphor-discover-system-state` service for doing the policy after the chassis power on and cycle. Tested: tested on yv4 system. Change-Id: I3412741cd25aff1e980b377a9af16606314e6965 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Diffstat (limited to 'poky/scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions