summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor/watchdog
AgeCommit message (Collapse)AuthorFilesLines
2022-05-04meta-fii: meta-kudo: Use host_reset in watchdog reset serviceAshwin Murali1-1/+1
The phosphor-watchdog-host-reset service used the deprecated force_reset command instead of the host_reset. Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I329006b23ce7ac50d659dd8cf59704256b2bffaa
2022-01-18meta-fii/meta-kudo: Organize executables to follow anti-patterns.mdCharles Boyer3-3/+3
According to https://github.com/openbmc/docs/blob/master/anti-patterns.md, /usr/sbin is reserved for system administration executables. The executables called by services or internal use are placed in /usr/libexec/<package>. Executables kept in /usr/sbin, - kudo.sh - kudo-ras.sh - kudo-fw.sh Executables moved to /usr/libexec, - ampere-hostctrl/ampere_power_util.sh - kudo-fw/kudo-fw-ver.sh - kudo-fw/kudo-lib.sh - kudo-boot/init_once.sh - usb-network/usb_network.sh - obmc-console/kudo_uart_mux_ctrl.sh - pwm-init/pwm_init.sh - phosphor-virtual-sensor/tla2024-enable.sh Also removed /usr/bin/env from service files. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I270eee5cb9c0ca248f1b84a87d1cff5c6dc129f3
2021-11-23meta-fii/meta-kudo: Change watchdog action to power utilityXP Chen2-2/+2
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
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-1/+1
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-18meta-fii/meta-kudo: follow the new Yocto override syntax changeMohaimen Alsamarai1-3/+3
Changing the syntax for various yocto files ie. (_ to :) changes to bb, bbappend and conf files. Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
2021-07-27meta-fii/meta-kudo: Add kudo watchdog packageLancelot Kao5-0/+51
1. Add kudo watchdog service 2. Add kudo specific watchdog action services 3. Fix watchdog action.services to not autostart Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I49e672c93001a5ba7b8960b914222ff7abc37c9f Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>