summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2020-07-09 17:22:22 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-07-15 00:27:46 +0300
commit0a408978a49fbf74e7dc2e986a433902efa3b598 (patch)
treee53b0412808b68ae8f09612c18dad3d699de0e09 /meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
parente34c3ac5b43d9a98b2c1c2096bb33e1b3525e66a (diff)
downloadopenbmc-0a408978a49fbf74e7dc2e986a433902efa3b598.tar.xz
meta-quanta: gbs: add ipmi watchdog
the upstream watchdog lose some command parameters and implementation we reference Intel-BMC repo[*1] apply patches for normal execute with x86-power-control [*1]: https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog (From meta-quanta rev: 230aee7e93f0e4873dc1e76a929e794559155cb5) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib4e94948210d6d2948ab5983c962220810db45e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
new file mode 100644
index 0000000000..9c491ecfc8
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:"
+
+SRC_URI_append_gbs = " file://0001-Customize-phosphor-watchdog-for-Intel-platforms.patch"
+
+# Remove the override to keep service running after DC cycle
+SYSTEMD_OVERRIDE_${PN}_remove_gbs = "poweron.conf:phosphor-watchdog@poweron.service.d/poweron.conf"
+SYSTEMD_SERVICE_${PN}_gbs = "phosphor-watchdog.service"