summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/watchdog
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-06-13 15:58:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-18 11:07:57 +0100
commit459d92e98d0021fa336da8c11b36ca701f224617 (patch)
tree3cc65ed5ff44ad9157c3e1b33bf8612ee830ef9f /meta/recipes-extended/watchdog
parent1e703e1b05b6a8938211a6fbf40cf1f8eb2e3393 (diff)
downloadpoky-459d92e98d0021fa336da8c11b36ca701f224617.tar.gz
watchdog: disable systemd services by default
systemd has internal support for watchdog. See the RuntimeWatchdogSec in /etc/systemd/system.conf. We'd better just disable this service by default. If users want to use watchdog, consider using the systemd one. (From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/watchdog')
-rw-r--r--meta/recipes-extended/watchdog/watchdog_5.15.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.15.bb
index d3f03532ac..bfaed9ad96 100644
--- a/meta/recipes-extended/watchdog/watchdog_5.15.bb
+++ b/meta/recipes-extended/watchdog/watchdog_5.15.bb
@@ -40,6 +40,9 @@ INITSCRIPT_PARAMS_${PN}-keepalive = "start 15 1 2 3 4 5 . stop 85 0 6 ."
40SYSTEMD_PACKAGES = "${PN} ${PN}-keepalive" 40SYSTEMD_PACKAGES = "${PN} ${PN}-keepalive"
41SYSTEMD_SERVICE_${PN} = "watchdog.service" 41SYSTEMD_SERVICE_${PN} = "watchdog.service"
42SYSTEMD_SERVICE_${PN}-keepalive = "wd_keepalive.service" 42SYSTEMD_SERVICE_${PN}-keepalive = "wd_keepalive.service"
43# When using systemd, consider making use of internal watchdog support of systemd.
44# See RuntimeWatchdogSec in /etc/systemd/system.conf.
45SYSTEMD_AUTO_ENABLE = "disable"
43 46
44do_install_append() { 47do_install_append() {
45 install -d ${D}${systemd_system_unitdir} 48 install -d ${D}${systemd_system_unitdir}