summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2020-05-14 23:29:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-15 16:31:44 +0100
commit7e1b054aed1ed221e1359c5da6a36eea67daadf2 (patch)
tree0f108ba75c024433db5f6468c69623aa6bf35121
parentff2a3335c432b6d031caf16d6b07e62f0743b9a3 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-extended/watchdog/watchdog/0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch32
-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 @@
1From 8f91385dbd5e7c14b36ecbd8a01ca82c709f6d77 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 24 Jun 2016 18:19:29 +0000
4Subject: [PATCH] Include linux/param.h for EXEC_PAGESIZE definition
5
6Musl does not include linux/param.h whereas glibc
7does, so it fails to build on musl.
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Submitted
12
13 src/watchdog.c | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/src/watchdog.c b/src/watchdog.c
17index 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--
311.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/"
6BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194" 6BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194"
7 7
8LICENSE = "GPL-2.0+" 8LICENSE = "GPL-2.0+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=ecc0551bf54ad97f6b541720f84d6569" 9LIC_FILES_CHKSUM = "file://COPYING;md5=084236108b1d4a9851bf5213fea586fd"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \ 11SRC_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
18SRC_URI[md5sum] = "678c32f6f35a0492c9c1b76b4aa88828" 17SRC_URI[md5sum] = "1b4f51cabc64d1bee2fce7cdd626831f"
19SRC_URI[sha256sum] = "ffdc865137ad5d8e53664bd22bad4de6ca136d1b4636720320cb52af0c18947c" 18SRC_URI[sha256sum] = "b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d"
20 19
21UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/" 20UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/"
22UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/" 21UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"