From cd91d80e889d8d2463883311b6454ba734fb2fce Mon Sep 17 00:00:00 2001 From: XP Chen Date: Wed, 1 Sep 2021 10:25:00 -0500 Subject: 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 Signed-off-by: Charles Boyer Change-Id: I2f67a34ba8cfd80fd3dde999baa329d44288bdfe --- .../watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service | 2 +- .../watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-fii') 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 -- cgit v1.2.3