summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/watchdog/watchdog_5.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/watchdog/watchdog_5.15.bb')
-rw-r--r--meta/recipes-extended/watchdog/watchdog_5.15.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.15.bb
index 1c0049c7af..cedfc042ce 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 ."
40do_install_append() { 40do_install_append() {
41 install -D ${S}/redhat/watchdog.init ${D}/${sysconfdir}/init.d/watchdog.sh 41 install -D ${S}/redhat/watchdog.init ${D}/${sysconfdir}/init.d/watchdog.sh
42 install -Dm 0755 ${WORKDIR}/wd_keepalive.init ${D}${sysconfdir}/init.d/wd_keepalive 42 install -Dm 0755 ${WORKDIR}/wd_keepalive.init ${D}${sysconfdir}/init.d/wd_keepalive
43
44 # watchdog.conf is provided by the watchdog-config recipe
45 rm ${D}${sysconfdir}/watchdog.conf
43} 46}
44 47
45PACKAGES =+ "${PN}-keepalive" 48PACKAGES =+ "${PN}-keepalive"
@@ -49,7 +52,8 @@ FILES_${PN}-keepalive = " \
49 ${sbindir}/wd_keepalive \ 52 ${sbindir}/wd_keepalive \
50" 53"
51 54
52RDEPENDS_${PN} += "${PN}-keepalive" 55RDEPENDS_${PN} += "${PN}-config ${PN}-keepalive"
56RDEPENDS_${PN}-keepalive += "${PN}-config"
53 57
54RRECOMMENDS_${PN} = "kernel-module-softdog" 58RRECOMMENDS_${PN} = "kernel-module-softdog"
55 59