diff options
author | XP Chen <xiao-peng.chen@fii-na.com> | 2021-09-01 18:25:00 +0300 |
---|---|---|
committer | Vivekanand Veeracholan <vveerach@google.com> | 2021-11-23 23:21:36 +0300 |
commit | cd91d80e889d8d2463883311b6454ba734fb2fce (patch) | |
tree | 4427b66b47271dbe9e1e0c5e885430b1338fe5ae /meta-fii/meta-kudo/recipes-phosphor/watchdog | |
parent | 10a5e56222d874578ada8c9dbcf947c111301234 (diff) | |
download | openbmc-cd91d80e889d8d2463883311b6454ba734fb2fce.tar.xz |
meta-fii/meta-kudo: Change watchdog action to power utility
For shutdown, if it does not go through the power utility, the
Chassis state will not change.
For host reset, execute additional verification steps attached
to the power utility service performing the host reboot.
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I2f67a34ba8cfd80fd3dde999baa329d44288bdfe
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/watchdog')
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service index 9586368b5..1baf4ca30 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service +++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service @@ -4,5 +4,5 @@ Description=Watchdog power state power cycle shutdown [Service] Type=oneshot RemainAfterExit=no -ExecStart=/usr/bin/env kudo.sh rst shutdown +ExecStart=/usr/bin/env ampere_power_util.sh mb off SyslogIdentifier=phosphor-watchdog diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service index fb6614e49..b6d453f51 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service +++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service @@ -4,5 +4,5 @@ Description=Watchdog power state reset system [Service] Type=oneshot RemainAfterExit=no -ExecStart=/usr/bin/env kudo.sh rst system +ExecStart=/usr/bin/env ampere_power_util.sh mb force_reset SyslogIdentifier=phosphor-watchdog |