Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend:gbs := "${THISDIR}/${PN}:" |
George Hung | 0a40897 | 2020-07-09 22:22:22 +0800 | [diff] [blame] | 2 | |
David Wang | 82f3dac | 2021-08-16 16:28:18 +0800 | [diff] [blame^] | 3 | SYSTEMD_ENVIRONMENT_FILE_${PN}:append:gbs = " obmc/watchdog/host0" |
George Hung | c4d7953 | 2021-04-29 10:48:55 +0800 | [diff] [blame] | 4 | OBMC_HOST_WATCHDOG_INSTANCES_A = "host0" |
| 5 | WATCHDOG_FMT_A = "phosphor-watchdog@{0}.service" |
David Wang | 82f3dac | 2021-08-16 16:28:18 +0800 | [diff] [blame^] | 6 | SYSTEMD_OVERRIDE_${PN}:remove:gbs = "poweron.conf:phosphor-watchdog@poweron.service.d/poweron.conf" |
| 7 | SYSTEMD_LINK_${PN}:remove:gbs = "${@compose_list(d, 'ENABLE_WATCHDOG_FMT', 'OBMC_HOST_INSTANCES')}" |
| 8 | SYSTEMD_LINK_${PN}:remove:gbs = "${@compose_list(d, 'WATCHDOG_FMT', 'OBMC_HOST_WATCHDOG_INSTANCES', 'OBMC_HOST_INSTANCES')}" |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 9 | SYSTEMD_SERVICE:${PN}:gbs = " ${@compose_list(d, 'WATCHDOG_FMT_A', 'OBMC_HOST_WATCHDOG_INSTANCES_A')} \ |
George Hung | c4d7953 | 2021-04-29 10:48:55 +0800 | [diff] [blame] | 10 | phosphor-host-watchdog-reset.service \ |
| 11 | phosphor-host-watchdog-poweroff.service \ |
| 12 | phosphor-host-watchdog-powercycle.service \ |
| 13 | " |