diff options
| author | Freddie Jheng <Freddie.Jheng@quantatw.com> | 2026-03-18 15:40:38 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2026-03-19 04:59:18 +0300 |
| commit | 7b5448026fcf0915f1a0e07e2c08ee7afff3ed45 (patch) | |
| tree | 238307692eeab4de14abe5e91d7b57c31efb817f /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-libevdev | |
| parent | 81af9c7eca9a93142e45672f8e114f833cf3b6a9 (diff) | |
| download | openbmc-7b5448026fcf0915f1a0e07e2c08ee7afff3ed45.tar.xz | |
meta-facebook: santabarbara: fix sync after poweroff interrupt
When host-graceful-poweroff is interrupted by SIGTERM, power-host-
control was not restored to 1 and the failed state blocked assert-
power-good-drop from syncing power-state to off.
Add trap to restore power-host-control to 1 on interrupt, and fix
assert-power-good-drop to not skip sync on failed state.
Tested on Santabarbara:
```
03:53:35 host0-ready=1 service=failed runtime=on <- stuck, no sync
...
03:55:44 host0-ready=0 service=failed runtime=on
03:55:48 host0-ready=0 service=activating runtime=transition-off
03:55:50 host0-ready=0 service=active runtime=off <- synced correctly
```
Change-Id: Ia1924cfcaa92c9822ebbac923a38fd52e8aa0308
Signed-off-by: Freddie Jheng <Freddie.Jheng@quantatw.com>
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-libevdev')
0 files changed, 0 insertions, 0 deletions
