diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-05-14 23:29:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-15 16:31:44 +0100 |
commit | 7e1b054aed1ed221e1359c5da6a36eea67daadf2 (patch) | |
tree | 0f108ba75c024433db5f6468c69623aa6bf35121 /meta/recipes-extended/watchdog | |
parent | ff2a3335c432b6d031caf16d6b07e62f0743b9a3 (diff) | |
download | poky-7e1b054aed1ed221e1359c5da6a36eea67daadf2.tar.gz |
watchdog: upgrade 5.15 -> 5.16
0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch
removed since it is included in 5.16
-License-Update: Copyright year updated to 2020.
(From OE-Core rev: 1ec6381bb6b654076ee7eec1d3a8933a160b7811)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.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/0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch | 32 | ||||
-rw-r--r-- | meta/recipes-extended/watchdog/watchdog_5.16.bb (renamed from meta/recipes-extended/watchdog/watchdog_5.15.bb) | 7 |
2 files changed, 3 insertions, 36 deletions
diff --git a/meta/recipes-extended/watchdog/watchdog/0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch b/meta/recipes-extended/watchdog/watchdog/0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch deleted file mode 100644 index 198f198619..0000000000 --- a/meta/recipes-extended/watchdog/watchdog/0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 8f91385dbd5e7c14b36ecbd8a01ca82c709f6d77 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 24 Jun 2016 18:19:29 +0000 | ||
4 | Subject: [PATCH] Include linux/param.h for EXEC_PAGESIZE definition | ||
5 | |||
6 | Musl does not include linux/param.h whereas glibc | ||
7 | does, so it fails to build on musl. | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Submitted | ||
12 | |||
13 | src/watchdog.c | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/src/watchdog.c b/src/watchdog.c | ||
17 | index acf6450..486384a 100644 | ||
18 | --- a/src/watchdog.c | ||
19 | +++ b/src/watchdog.c | ||
20 | @@ -26,6 +26,9 @@ | ||
21 | #include <sys/param.h> /* For EXEC_PAGESIZE */ | ||
22 | #include <linux/oom.h> | ||
23 | #include <linux/watchdog.h> | ||
24 | +#ifdef __linux__ | ||
25 | +#include <linux/param.h> | ||
26 | +#endif | ||
27 | #include <string.h> | ||
28 | |||
29 | #include <libgen.h> | ||
30 | -- | ||
31 | 1.8.3.1 | ||
32 | |||
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.16.bb index 1acab2e9e7..0199487e2e 100644 --- a/meta/recipes-extended/watchdog/watchdog_5.15.bb +++ b/meta/recipes-extended/watchdog/watchdog_5.16.bb | |||
@@ -6,17 +6,16 @@ HOMEPAGE = "http://watchdog.sourceforge.net/" | |||
6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194" | 6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194" |
7 | 7 | ||
8 | LICENSE = "GPL-2.0+" | 8 | LICENSE = "GPL-2.0+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecc0551bf54ad97f6b541720f84d6569" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=084236108b1d4a9851bf5213fea586fd" |
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \ | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \ |
12 | file://0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch \ | ||
13 | file://0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch \ | 12 | file://0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch \ |
14 | file://watchdog.init \ | 13 | file://watchdog.init \ |
15 | file://wd_keepalive.init \ | 14 | file://wd_keepalive.init \ |
16 | " | 15 | " |
17 | 16 | ||
18 | SRC_URI[md5sum] = "678c32f6f35a0492c9c1b76b4aa88828" | 17 | SRC_URI[md5sum] = "1b4f51cabc64d1bee2fce7cdd626831f" |
19 | SRC_URI[sha256sum] = "ffdc865137ad5d8e53664bd22bad4de6ca136d1b4636720320cb52af0c18947c" | 18 | SRC_URI[sha256sum] = "b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d" |
20 | 19 | ||
21 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/" | 20 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/" |
22 | UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" | 21 | UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" |