summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/watchdog/watchdog_5.15.bb
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2016-08-26 16:55:02 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 11:53:36 +0100
commit38602249e2fb20eb4e9f95ea93e570eaf3a60cbe (patch)
tree38a3328fdcbdfd0da29fbc94c0b1d29f8f7938d5 /meta/recipes-extended/watchdog/watchdog_5.15.bb
parent7a79aba22be0ca0bc3535dea64a79b697013337d (diff)
downloadpoky-38602249e2fb20eb4e9f95ea93e570eaf3a60cbe.tar.gz
watchdog-config: Add recipe
Provides configuration files for watchdog. Add watchdog-config as a runtime dependence of watchdog and remove watchdog.conf file from watchdog installation. (From OE-Core rev: 6864ad2e863205472f8ea2057c61e949dc450151) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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