summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-08-23 22:19:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 16:00:10 +0100
commitfe9364fc7ba12b8da6a7b0f82f1965a2d2f7b65a (patch)
treeb8c36d26cc3837b8abe3b76ec4383ffdaeb22989 /meta/recipes-core
parent857833ad4a461c4eb51c015ca52d3aecb2e14af3 (diff)
downloadpoky-fe9364fc7ba12b8da6a7b0f82f1965a2d2f7b65a.tar.gz
util-linux: upgrade 2.35.2 -> 2.36
(From OE-Core rev: 93cb61e5e6943b35f3cd9b724daa05e090815a50) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux/0001-include-cleanup-pidfd-inckudes.patch42
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.35.2.bb13
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.36.bb12
3 files changed, 12 insertions, 55 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/0001-include-cleanup-pidfd-inckudes.patch b/meta/recipes-core/util-linux/util-linux/0001-include-cleanup-pidfd-inckudes.patch
deleted file mode 100644
index 0ef6fb4ec7..0000000000
--- a/meta/recipes-core/util-linux/util-linux/0001-include-cleanup-pidfd-inckudes.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 0a4035ff2e4fd5b5ae0cf8f8665696c2aff53b75 Mon Sep 17 00:00:00 2001
2From: Karel Zak <kzak@redhat.com>
3Date: Tue, 10 Mar 2020 11:43:16 +0100
4Subject: [PATCH] include: cleanup pidfd inckudes
5
6Upstream-Status: Backport [https://github.com/karelzak/util-linux/commit/0a4035ff2e4fd5b5ae0cf8f8665696c2aff53b75]
7
8Signed-off-by: Karel Zak <kzak@redhat.com>
9Signed-off-by: Benjamin Fair <benjaminfair@google.com>
10---
11 include/pidfd-utils.h | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/include/pidfd-utils.h b/include/pidfd-utils.h
15index 0baedd2c9..4a6c3a604 100644
16--- a/include/pidfd-utils.h
17+++ b/include/pidfd-utils.h
18@@ -3,10 +3,10 @@
19
20 #if defined(__linux__)
21 # include <sys/syscall.h>
22-# if defined(SYS_pidfd_send_signal)
23+# if defined(SYS_pidfd_send_signal) && defined(SYS_pidfd_open)
24 # include <sys/types.h>
25
26-# ifndef HAVE_PIDFD_OPEN
27+# ifndef HAVE_PIDFD_SEND_SIGNAL
28 static inline int pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
29 unsigned int flags)
30 {
31@@ -14,7 +14,7 @@ static inline int pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
32 }
33 # endif
34
35-# ifndef HAVE_PIDFD_SEND_SIGNAL
36+# ifndef HAVE_PIDFD_OPEN
37 static inline int pidfd_open(pid_t pid, unsigned int flags)
38 {
39 return syscall(SYS_pidfd_open, pid, flags);
40--
412.26.1.301.g55bc3eb7cb9-goog
42
diff --git a/meta/recipes-core/util-linux/util-linux_2.35.2.bb b/meta/recipes-core/util-linux/util-linux_2.35.2.bb
deleted file mode 100644
index 752a6fa214..0000000000
--- a/meta/recipes-core/util-linux/util-linux_2.35.2.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1require util-linux.inc
2
3SRC_URI += "file://configure-sbindir.patch \
4 file://runuser.pamd \
5 file://runuser-l.pamd \
6 file://ptest.patch \
7 file://run-ptest \
8 file://display_testname_for_subtest.patch \
9 file://avoid_parallel_tests.patch \
10 file://0001-include-cleanup-pidfd-inckudes.patch \
11"
12SRC_URI[md5sum] = "248a4d0810c9193e0e9a4bb3f26b93d8"
13SRC_URI[sha256sum] = "21b7431e82f6bcd9441a01beeec3d57ed33ee948f8a5b41da577073c372eb58a"
diff --git a/meta/recipes-core/util-linux/util-linux_2.36.bb b/meta/recipes-core/util-linux/util-linux_2.36.bb
new file mode 100644
index 0000000000..9feb717f00
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux_2.36.bb
@@ -0,0 +1,12 @@
1require util-linux.inc
2
3SRC_URI += "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${BP}.tar.xz \
4 file://configure-sbindir.patch \
5 file://runuser.pamd \
6 file://runuser-l.pamd \
7 file://ptest.patch \
8 file://run-ptest \
9 file://display_testname_for_subtest.patch \
10 file://avoid_parallel_tests.patch \
11 "
12SRC_URI[sha256sum] = "9e4b1c67eb13b9b67feb32ae1dc0d50e08ce9e5d82e1cccd0ee771ad2fa9e0b1"