diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-03 12:15:02 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-04 14:13:35 +0100 |
commit | 0fb7a435852ab03210e0f23b944f6f8e6688f9fc (patch) | |
tree | d8f0fce4dba7c67b6ad332e9e02a9509c4d441be /meta/recipes-extended/watchdog/watchdog_5.15.bb | |
parent | d2d5bf5c68d78647e287491fe75d28fbcfc10411 (diff) | |
download | poky-0fb7a435852ab03210e0f23b944f6f8e6688f9fc.tar.gz |
watchdog: update to 5.15
Removed patches are all merged upstream.
(From OE-Core rev: e25b27c89dd13f5a311b49a974b4410e7993ddae)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.15.bb new file mode 100644 index 0000000000..76a3b427c8 --- /dev/null +++ b/meta/recipes-extended/watchdog/watchdog_5.15.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "Software watchdog" | ||
2 | DESCRIPTION = "Watchdog is a daemon that checks if your system is still \ | ||
3 | working. If programs in user space are not longer executed \ | ||
4 | it will reboot the system." | ||
5 | HOMEPAGE = "http://watchdog.sourceforge.net/" | ||
6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194" | ||
7 | |||
8 | LICENSE = "GPL-2.0+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecc0551bf54ad97f6b541720f84d6569" | ||
10 | |||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \ | ||
12 | file://watchdog-init.patch \ | ||
13 | file://watchdog-conf.patch \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[md5sum] = "678c32f6f35a0492c9c1b76b4aa88828" | ||
17 | SRC_URI[sha256sum] = "ffdc865137ad5d8e53664bd22bad4de6ca136d1b4636720320cb52af0c18947c" | ||
18 | |||
19 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/" | ||
20 | UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" | ||
21 | |||
22 | inherit autotools | ||
23 | inherit update-rc.d | ||
24 | |||
25 | DEPENDS_append_libc-musl = " libtirpc " | ||
26 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc " | ||
27 | LDFLAGS_append_libc-musl = " -ltirpc " | ||
28 | EXTRA_OECONF_append_libc-musl = " --disable-nfs " | ||
29 | |||
30 | INITSCRIPT_NAME = "watchdog.sh" | ||
31 | INITSCRIPT_PARAMS = "start 15 1 2 3 4 5 . stop 85 0 6 ." | ||
32 | |||
33 | RRECOMMENDS_${PN} = "kernel-module-softdog" | ||
34 | |||
35 | do_install_append() { | ||
36 | install -D ${S}/redhat/watchdog.init ${D}/${sysconfdir}/init.d/watchdog.sh | ||
37 | } | ||