diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-26 16:55:02 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 11:53:36 +0100 |
commit | 38602249e2fb20eb4e9f95ea93e570eaf3a60cbe (patch) | |
tree | 38a3328fdcbdfd0da29fbc94c0b1d29f8f7938d5 /meta/recipes-extended/watchdog/watchdog_5.15.bb | |
parent | 7a79aba22be0ca0bc3535dea64a79b697013337d (diff) | |
download | poky-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.bb | 6 |
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 ." | |||
40 | do_install_append() { | 40 | do_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 | ||
45 | PACKAGES =+ "${PN}-keepalive" | 48 | PACKAGES =+ "${PN}-keepalive" |
@@ -49,7 +52,8 @@ FILES_${PN}-keepalive = " \ | |||
49 | ${sbindir}/wd_keepalive \ | 52 | ${sbindir}/wd_keepalive \ |
50 | " | 53 | " |
51 | 54 | ||
52 | RDEPENDS_${PN} += "${PN}-keepalive" | 55 | RDEPENDS_${PN} += "${PN}-config ${PN}-keepalive" |
56 | RDEPENDS_${PN}-keepalive += "${PN}-config" | ||
53 | 57 | ||
54 | RRECOMMENDS_${PN} = "kernel-module-softdog" | 58 | RRECOMMENDS_${PN} = "kernel-module-softdog" |
55 | 59 | ||