summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-02-08 08:20:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-09 09:57:24 +0000
commitc09f2bf51b974f48047f4ba698e8c9ab2dd7ac81 (patch)
tree350dfb40e53c6591cb5bb262e8a7c35954f4e9b3
parent184308335e4669559796cea36b15014d5a07a202 (diff)
downloadpoky-c09f2bf51b974f48047f4ba698e8c9ab2dd7ac81.tar.gz
ifupdown: update 0.8.39 -> 0.8.41
Do not apply patch conditionally, there is no need for that, and conditional patches are problematic with upgrades and devtool. (From OE-Core rev: 689e5c83cabe07dd60fdb3856c102c99fc3cbd7d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ifupdown/files/0001-Define-FNM_EXTMATCH-for-musl.patch8
-rw-r--r--meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch3
-rw-r--r--meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch12
-rw-r--r--meta/recipes-core/ifupdown/files/defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch10
-rw-r--r--meta/recipes-core/ifupdown/files/tweak-ptest-script.patch19
-rw-r--r--meta/recipes-core/ifupdown/ifupdown_0.8.41.bb (renamed from meta/recipes-core/ifupdown/ifupdown_0.8.39.bb)8
6 files changed, 29 insertions, 31 deletions
diff --git a/meta/recipes-core/ifupdown/files/0001-Define-FNM_EXTMATCH-for-musl.patch b/meta/recipes-core/ifupdown/files/0001-Define-FNM_EXTMATCH-for-musl.patch
index 7bf02ea536..6c4ed526bf 100644
--- a/meta/recipes-core/ifupdown/files/0001-Define-FNM_EXTMATCH-for-musl.patch
+++ b/meta/recipes-core/ifupdown/files/0001-Define-FNM_EXTMATCH-for-musl.patch
@@ -1,4 +1,4 @@
1From ff714d6461569d69b253089110ec659e4ebec248 Mon Sep 17 00:00:00 2001 1From 8dfbcf02e424ba1fdef587d81c9e08a37ab8c1b6 Mon Sep 17 00:00:00 2001
2From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> 2From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
3Date: Tue, 2 Jul 2019 20:10:42 +0200 3Date: Tue, 2 Jul 2019 20:10:42 +0200
4Subject: [PATCH] Define FNM_EXTMATCH for musl 4Subject: [PATCH] Define FNM_EXTMATCH for musl
@@ -24,12 +24,13 @@ function); did you mean 'FNM_NOMATCH'?
24Upstream-Status: Submitted [https://salsa.debian.org/debian/ifupdown/merge_requests/5] 24Upstream-Status: Submitted [https://salsa.debian.org/debian/ifupdown/merge_requests/5]
25 25
26Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> 26Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
27
27--- 28---
28 archcommon.h | 4 ++++ 29 archcommon.h | 4 ++++
29 1 file changed, 4 insertions(+) 30 1 file changed, 4 insertions(+)
30 31
31diff --git a/archcommon.h b/archcommon.h 32diff --git a/archcommon.h b/archcommon.h
32index fe99950..f257f9d 100644 33index 818b0b6..ad9cd1a 100644
33--- a/archcommon.h 34--- a/archcommon.h
34+++ b/archcommon.h 35+++ b/archcommon.h
35@@ -1,5 +1,9 @@ 36@@ -1,5 +1,9 @@
@@ -42,6 +43,3 @@ index fe99950..f257f9d 100644
42 bool execable(const char *); 43 bool execable(const char *);
43 44
44 #define iface_is_link() (!_iface_has(ifd->real_iface, ":.")) 45 #define iface_is_link() (!_iface_has(ifd->real_iface, ":."))
45--
462.17.1
47
diff --git a/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch
index 57c8d04fd7..6e15a25224 100644
--- a/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch
+++ b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch
@@ -1,10 +1,11 @@
1From 7ace0656bd325f9e7749f2cde641eddc057bc98a Mon Sep 17 00:00:00 2001 1From 7fe516cbaf9fda09d99dcb54d4645367cffc8a4d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 9 Jan 2020 15:38:06 +0100 3Date: Thu, 9 Jan 2020 15:38:06 +0100
4Subject: [PATCH] Makefile: do not use dpkg for determining OS type 4Subject: [PATCH] Makefile: do not use dpkg for determining OS type
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
8--- 9---
9 Makefile | 2 +- 10 Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch b/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
index c751e4fab0..9ae24da51e 100644
--- a/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
+++ b/meta/recipes-core/ifupdown/files/0001-ifupdown-skip-wrong-test-case.patch
@@ -1,4 +1,4 @@
1From 98243deface88614e3f332c4a85d04a9abce55ff Mon Sep 17 00:00:00 2001 1From 782d8a869c266820d0f34974436f244f67afaea7 Mon Sep 17 00:00:00 2001
2From: Zqiang <qiang.zhang@windriver.com> 2From: Zqiang <qiang.zhang@windriver.com>
3Date: Mon, 19 Apr 2021 14:15:45 +0800 3Date: Mon, 19 Apr 2021 14:15:45 +0800
4Subject: [PATCH] ifupdown: skip wrong test case 4Subject: [PATCH] ifupdown: skip wrong test case
@@ -10,23 +10,21 @@ and are skipped directly.
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11 11
12Signed-off-by: Zqiang <qiang.zhang@windriver.com> 12Signed-off-by: Zqiang <qiang.zhang@windriver.com>
13
13--- 14---
14 tests/testbuild-linux | 2 +- 15 tests/testbuild-linux | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
16 17
17diff --git a/tests/testbuild-linux b/tests/testbuild-linux 18diff --git a/tests/testbuild-linux b/tests/testbuild-linux
18index 1181ea0..5f148eb 100755 19index 2fa1b8b..2c69856 100755
19--- a/tests/testbuild-linux 20--- a/tests/testbuild-linux
20+++ b/tests/testbuild-linux 21+++ b/tests/testbuild-linux
21@@ -3,7 +3,7 @@ 22@@ -3,7 +3,7 @@
22 dir=tests/linux 23 dir=tests/linux
23 24
24 result=true 25 result=true
25-for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18; do 26-for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do
26+for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 27+for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
27 if [ -e $dir/testcase.$test ]; then 28 if [ -e $dir/testcase.$test ]; then
28 args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')" 29 args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
29 else 30 else
30--
312.17.1
32
diff --git a/meta/recipes-core/ifupdown/files/defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch b/meta/recipes-core/ifupdown/files/defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch
index d1c3d260ed..7b4b761e6a 100644
--- a/meta/recipes-core/ifupdown/files/defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch
+++ b/meta/recipes-core/ifupdown/files/defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch
@@ -1,7 +1,7 @@
1From 40257d65b338b6e2ed9d89d6fa7c7b8701a4c311 Mon Sep 17 00:00:00 2001 1From fc8e8d4cb19ff30e69aa1855332544f1017f974c Mon Sep 17 00:00:00 2001
2From: Paul Gortmaker <paul.gortmaker@windriver.com> 2From: Paul Gortmaker <paul.gortmaker@windriver.com>
3Date: Wed, 6 Aug 2014 14:54:12 -0400 3Date: Wed, 6 Aug 2014 14:54:12 -0400
4Subject: [PATCH 1/2] defn2[c|man]: don't rely on dpkg-architecture to set arch 4Subject: [PATCH] defn2[c|man]: don't rely on dpkg-architecture to set arch
5 5
6In yocto we'll always be cross compiling, and we'll always 6In yocto we'll always be cross compiling, and we'll always
7be building on linux for linux (vs. *BSD, hurd, etc.) 7be building on linux for linux (vs. *BSD, hurd, etc.)
@@ -13,13 +13,14 @@ like the loopback device not being configured/enabled.
13 13
14Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> 14Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
15Upstream-Status: Pending 15Upstream-Status: Pending
16
16--- 17---
17 defn2c.pl | 6 +++--- 18 defn2c.pl | 6 +++---
18 defn2man.pl | 6 +++--- 19 defn2man.pl | 6 +++---
19 2 files changed, 6 insertions(+), 6 deletions(-) 20 2 files changed, 6 insertions(+), 6 deletions(-)
20 21
21diff --git a/defn2c.pl b/defn2c.pl 22diff --git a/defn2c.pl b/defn2c.pl
22index 8798dc2..f2551c7 100755 23index fa7a02e..bb4987d 100755
23--- a/defn2c.pl 24--- a/defn2c.pl
24+++ b/defn2c.pl 25+++ b/defn2c.pl
25@@ -2,9 +2,9 @@ 26@@ -2,9 +2,9 @@
@@ -52,6 +53,3 @@ index 6ddcfdd..c9c4dd0 100755
52 53
53 # declarations 54 # declarations
54 my $line; 55 my $line;
55--
562.17.1
57
diff --git a/meta/recipes-core/ifupdown/files/tweak-ptest-script.patch b/meta/recipes-core/ifupdown/files/tweak-ptest-script.patch
index ea88a9086a..fa6bb84df3 100644
--- a/meta/recipes-core/ifupdown/files/tweak-ptest-script.patch
+++ b/meta/recipes-core/ifupdown/files/tweak-ptest-script.patch
@@ -1,14 +1,19 @@
1Tweak tests of ifupdown to make it work with oe-core ptest framework. 1From a6bb2ac5f521c678abbbdb1960d28f750f4357a6 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Mon, 3 Feb 2020 17:33:11 +0800
4Subject: [PATCH] Tweak tests of ifupdown to make it work with oe-core ptest
5 framework.
2 6
3Upstream-Status: Inappropriate [oe-core specific] 7Upstream-Status: Inappropriate [oe-core specific]
4 8
5Signed-off-by: Kai Kang <kai.kang@windriver.com> 9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10
6--- 11---
7 tests/testbuild-linux | 11 ++++++----- 12 tests/testbuild-linux | 11 ++++++-----
8 1 file changed, 6 insertions(+), 5 deletions(-) 13 1 file changed, 6 insertions(+), 5 deletions(-)
9 14
10diff --git a/tests/testbuild-linux b/tests/testbuild-linux 15diff --git a/tests/testbuild-linux b/tests/testbuild-linux
11index 5f148eb..d9b1698 100755 16index 2c69856..05f0703 100755
12--- a/tests/testbuild-linux 17--- a/tests/testbuild-linux
13+++ b/tests/testbuild-linux 18+++ b/tests/testbuild-linux
14@@ -1,6 +1,7 @@ 19@@ -1,6 +1,7 @@
@@ -19,8 +24,8 @@ index 5f148eb..d9b1698 100755
19+dir=$curdir/linux 24+dir=$curdir/linux
20 25
21 result=true 26 result=true
22 for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 27 for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
23@@ -12,7 +13,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 28@@ -12,7 +13,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
24 echo "Testcase $test: $args" 29 echo "Testcase $test: $args"
25 30
26 exitcode=0 31 exitcode=0
@@ -29,7 +34,7 @@ index 5f148eb..d9b1698 100755
29 >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$? 34 >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$?
30 35
31 (echo "exit code: $exitcode"; 36 (echo "exit code: $exitcode";
32@@ -20,7 +21,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 37@@ -20,7 +21,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
33 echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test 38 echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test
34 39
35 exitcode=0 40 exitcode=0
@@ -38,7 +43,7 @@ index 5f148eb..d9b1698 100755
38 >$dir/down-res-out.$test 2>$dir/down-res-err.$test || exitcode=$? 43 >$dir/down-res-out.$test 2>$dir/down-res-err.$test || exitcode=$?
39 44
40 (echo "exit code: $exitcode"; 45 (echo "exit code: $exitcode";
41@@ -28,9 +29,9 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 46@@ -28,9 +29,9 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
42 echo "====stderr===="; cat $dir/down-res-err.$test) > $dir/down-res.$test 47 echo "====stderr===="; cat $dir/down-res-err.$test) > $dir/down-res.$test
43 48
44 if diff -ub $dir/up.$test $dir/up-res.$test && diff -ub $dir/down.$test $dir/down-res.$test; then 49 if diff -ub $dir/up.$test $dir/up-res.$test && diff -ub $dir/down.$test $dir/down-res.$test; then
@@ -50,5 +55,3 @@ index 5f148eb..d9b1698 100755
50 result=false 55 result=false
51 fi 56 fi
52 echo "==========" 57 echo "=========="
53--
542.17.1
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.39.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.41.bb
index 7096bc94d7..5dbd6193b8 100644
--- a/meta/recipes-core/ifupdown/ifupdown_0.8.39.bb
+++ b/meta/recipes-core/ifupdown/ifupdown_0.8.41.bb
@@ -8,15 +8,15 @@ LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9 9
10SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=master \ 10SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=master \
11 file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \
12 file://99_network \ 11 file://99_network \
12 file://run-ptest \
13 file://0001-Define-FNM_EXTMATCH-for-musl.patch \ 13 file://0001-Define-FNM_EXTMATCH-for-musl.patch \
14 file://0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch \ 14 file://0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch \
15 file://run-ptest \
16 file://0001-ifupdown-skip-wrong-test-case.patch \ 15 file://0001-ifupdown-skip-wrong-test-case.patch \
17 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'file://tweak-ptest-script.patch', '', d)} \ 16 file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \
17 file://tweak-ptest-script.patch \
18 " 18 "
19SRCREV = "be91dd267b4a8db502a6bbf5758563f7048b8078" 19SRCREV = "369d9d3c13a0c56ad09fd4f13b4a80eb9a94e270"
20 20
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22