1 |
commit: 5a614c66095fee76fc55e9fdea5b58e9bd39ef02 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 16:06:17 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 16:06:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a614c66 |
7 |
|
8 |
sys-apps/util-linux: remove duplicate patch |
9 |
|
10 |
Bug: https://bugs.gentoo.org/831978 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../util-linux-2.37.3-ioctl_ns-test-hang.patch | 37 ---------------------- |
14 |
sys-apps/util-linux/util-linux-2.37.3.ebuild | 2 +- |
15 |
2 files changed, 1 insertion(+), 38 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/util-linux/files/util-linux-2.37.3-ioctl_ns-test-hang.patch b/sys-apps/util-linux/files/util-linux-2.37.3-ioctl_ns-test-hang.patch |
18 |
deleted file mode 100644 |
19 |
index 73dc0b40a049..000000000000 |
20 |
--- a/sys-apps/util-linux/files/util-linux-2.37.3-ioctl_ns-test-hang.patch |
21 |
+++ /dev/null |
22 |
@@ -1,37 +0,0 @@ |
23 |
-https://github.com/karelzak/util-linux/commit/597ccb7bf564f65bb059bfe420224cab0fba46ac.patch |
24 |
- |
25 |
-From 597ccb7bf564f65bb059bfe420224cab0fba46ac Mon Sep 17 00:00:00 2001 |
26 |
-From: Chris Hofstaedtler <zeha@××××××.org> |
27 |
-Date: Fri, 20 Aug 2021 10:30:50 +0000 |
28 |
-Subject: [PATCH] tests: Skip lsns/ioctl_ns test if unshare fails |
29 |
- |
30 |
-Some parts of the Debian build infrastructure uses unshare to run the |
31 |
-package build, and that appears to cause a "nested" unshare in the |
32 |
-lsns/ioctl_ns test to fail. Unfortunately the tests then hang at this |
33 |
-point. |
34 |
- |
35 |
-Try running unshare before the actual test, and skip the test if unshare |
36 |
-already fails. |
37 |
- |
38 |
-[kzak@××××××.com: - add --fork to the test |
39 |
- - don't write to stdout/err] |
40 |
- |
41 |
-Signed-off-by: Chris Hofstaedtler <zeha@××××××.org> |
42 |
-Signed-off-by: Karel Zak <kzak@××××××.com> |
43 |
---- |
44 |
- tests/ts/lsns/ioctl_ns | 2 ++ |
45 |
- 1 file changed, 2 insertions(+) |
46 |
- |
47 |
-diff --git a/tests/ts/lsns/ioctl_ns b/tests/ts/lsns/ioctl_ns |
48 |
-index ef6360607..fa626bfda 100755 |
49 |
---- a/tests/ts/lsns/ioctl_ns |
50 |
-+++ b/tests/ts/lsns/ioctl_ns |
51 |
-@@ -34,6 +34,8 @@ ts_check_prog "mkfifo" |
52 |
- ts_check_prog "touch" |
53 |
- ts_check_prog "uniq" |
54 |
- |
55 |
-+$TS_CMD_UNSHARE --user --pid --mount-proc --fork true &> /dev/null || ts_skip "no namespace support" |
56 |
-+ |
57 |
- ts_cd "$TS_OUTDIR" |
58 |
- |
59 |
- # The parent process receives namespaces ids via FIFO_DATA from bash |
60 |
|
61 |
diff --git a/sys-apps/util-linux/util-linux-2.37.3.ebuild b/sys-apps/util-linux/util-linux-2.37.3.ebuild |
62 |
index 29ca2387ed7a..931702b50a7f 100644 |
63 |
--- a/sys-apps/util-linux/util-linux-2.37.3.ebuild |
64 |
+++ b/sys-apps/util-linux/util-linux-2.37.3.ebuild |
65 |
@@ -86,7 +86,7 @@ S="${WORKDIR}/${MY_P}" |
66 |
|
67 |
PATCHES=( |
68 |
"${FILESDIR}"/${PN}-2.37.1-agetty_ctrl-c_erase.patch #804972 |
69 |
- "${FILESDIR}"/${P}-ioctl_ns-test-hang.patch # upstream test hang patch |
70 |
+ "${FILESDIR}"/${PN}-2.37.2-ioctl_ns-test-hang.patch # upstream test hang patch |
71 |
) |
72 |
|
73 |
src_prepare() { |