From: ChenQi <Qi.Chen@windriver.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>,
openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: Re: [OE-core] [PATCH 01/52] ifupdown: update 0.8.43 -> 0.8.41
Date: Wed, 8 Feb 2023 15:48:40 +0800 [thread overview]
Message-ID: <91a725de-88b4-6dad-cd41-f6a44cd5d685@windriver.com> (raw)
In-Reply-To: <20230208072143.2930292-1-alex@linutronix.de>
Typo. It should be 0.8.39 -> 0.8.41
Regards,
Qi
On 2/8/23 15:20, Alexander Kanavin wrote:
> Do not apply patch conditionally, there is no need for that,
> and conditional patches are problematic with upgrades and devtool.
>
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
> .../0001-Define-FNM_EXTMATCH-for-musl.patch | 8 +++-----
> ...not-use-dpkg-for-determining-OS-type.patch | 3 ++-
> .../0001-ifupdown-skip-wrong-test-case.patch | 12 +++++-------
> ...t-rely-on-dpkg-architecture-to-set-a.patch | 10 ++++------
> .../ifupdown/files/tweak-ptest-script.patch | 19 +++++++++++--------
> ...{ifupdown_0.8.39.bb => ifupdown_0.8.41.bb} | 8 ++++----
> 6 files changed, 29 insertions(+), 31 deletions(-)
> rename meta/recipes-core/ifupdown/{ifupdown_0.8.39.bb => ifupdown_0.8.41.bb} (92%)
>
> 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 @@
> -From ff714d6461569d69b253089110ec659e4ebec248 Mon Sep 17 00:00:00 2001
> +From 8dfbcf02e424ba1fdef587d81c9e08a37ab8c1b6 Mon Sep 17 00:00:00 2001
> From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
> Date: Tue, 2 Jul 2019 20:10:42 +0200
> Subject: [PATCH] Define FNM_EXTMATCH for musl
> @@ -24,12 +24,13 @@ function); did you mean 'FNM_NOMATCH'?
> Upstream-Status: Submitted [https://salsa.debian.org/debian/ifupdown/merge_requests/5]
>
> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
> +
> ---
> archcommon.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/archcommon.h b/archcommon.h
> -index fe99950..f257f9d 100644
> +index 818b0b6..ad9cd1a 100644
> --- a/archcommon.h
> +++ b/archcommon.h
> @@ -1,5 +1,9 @@
> @@ -42,6 +43,3 @@ index fe99950..f257f9d 100644
> bool execable(const char *);
>
> #define iface_is_link() (!_iface_has(ifd->real_iface, ":."))
> ---
> -2.17.1
> -
> 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 @@
> -From 7ace0656bd325f9e7749f2cde641eddc057bc98a Mon Sep 17 00:00:00 2001
> +From 7fe516cbaf9fda09d99dcb54d4645367cffc8a4d Mon Sep 17 00:00:00 2001
> From: Alexander Kanavin <alex.kanavin@gmail.com>
> Date: Thu, 9 Jan 2020 15:38:06 +0100
> Subject: [PATCH] Makefile: do not use dpkg for determining OS type
>
> Upstream-Status: Inappropriate [oe-core specific]
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> +
> ---
> Makefile | 2 +-
> 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 @@
> -From 98243deface88614e3f332c4a85d04a9abce55ff Mon Sep 17 00:00:00 2001
> +From 782d8a869c266820d0f34974436f244f67afaea7 Mon Sep 17 00:00:00 2001
> From: Zqiang <qiang.zhang@windriver.com>
> Date: Mon, 19 Apr 2021 14:15:45 +0800
> Subject: [PATCH] ifupdown: skip wrong test case
> @@ -10,23 +10,21 @@ and are skipped directly.
> Upstream-Status: Inappropriate [oe-core specific]
>
> Signed-off-by: Zqiang <qiang.zhang@windriver.com>
> +
> ---
> tests/testbuild-linux | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/testbuild-linux b/tests/testbuild-linux
> -index 1181ea0..5f148eb 100755
> +index 2fa1b8b..2c69856 100755
> --- a/tests/testbuild-linux
> +++ b/tests/testbuild-linux
> @@ -3,7 +3,7 @@
> dir=tests/linux
>
> result=true
> --for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18; do
> -+for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
> +-for test in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do
> ++for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
> if [ -e $dir/testcase.$test ]; then
> args="$(cat $dir/testcase.$test | sed -n 's/^# RUN: //p')"
> else
> ---
> -2.17.1
> -
> 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 @@
> -From 40257d65b338b6e2ed9d89d6fa7c7b8701a4c311 Mon Sep 17 00:00:00 2001
> +From fc8e8d4cb19ff30e69aa1855332544f1017f974c Mon Sep 17 00:00:00 2001
> From: Paul Gortmaker <paul.gortmaker@windriver.com>
> Date: Wed, 6 Aug 2014 14:54:12 -0400
> -Subject: [PATCH 1/2] defn2[c|man]: don't rely on dpkg-architecture to set arch
> +Subject: [PATCH] defn2[c|man]: don't rely on dpkg-architecture to set arch
>
> In yocto we'll always be cross compiling, and we'll always
> be building on linux for linux (vs. *BSD, hurd, etc.)
> @@ -13,13 +13,14 @@ like the loopback device not being configured/enabled.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> Upstream-Status: Pending
> +
> ---
> defn2c.pl | 6 +++---
> defn2man.pl | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/defn2c.pl b/defn2c.pl
> -index 8798dc2..f2551c7 100755
> +index fa7a02e..bb4987d 100755
> --- a/defn2c.pl
> +++ b/defn2c.pl
> @@ -2,9 +2,9 @@
> @@ -52,6 +53,3 @@ index 6ddcfdd..c9c4dd0 100755
>
> # declarations
> my $line;
> ---
> -2.17.1
> -
> 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 @@
> -Tweak tests of ifupdown to make it work with oe-core ptest framework.
> +From a6bb2ac5f521c678abbbdb1960d28f750f4357a6 Mon Sep 17 00:00:00 2001
> +From: Kai Kang <kai.kang@windriver.com>
> +Date: Mon, 3 Feb 2020 17:33:11 +0800
> +Subject: [PATCH] Tweak tests of ifupdown to make it work with oe-core ptest
> + framework.
>
> Upstream-Status: Inappropriate [oe-core specific]
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> +
> ---
> tests/testbuild-linux | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/tests/testbuild-linux b/tests/testbuild-linux
> -index 5f148eb..d9b1698 100755
> +index 2c69856..05f0703 100755
> --- a/tests/testbuild-linux
> +++ b/tests/testbuild-linux
> @@ -1,6 +1,7 @@
> @@ -19,8 +24,8 @@ index 5f148eb..d9b1698 100755
> +dir=$curdir/linux
>
> result=true
> - for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
> -@@ -12,7 +13,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
> + for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
> +@@ -12,7 +13,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
> echo "Testcase $test: $args"
>
> exitcode=0
> @@ -29,7 +34,7 @@ index 5f148eb..d9b1698 100755
> >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$?
>
> (echo "exit code: $exitcode";
> -@@ -20,7 +21,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
> +@@ -20,7 +21,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
> echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test
>
> exitcode=0
> @@ -38,7 +43,7 @@ index 5f148eb..d9b1698 100755
> >$dir/down-res-out.$test 2>$dir/down-res-err.$test || exitcode=$?
>
> (echo "exit code: $exitcode";
> -@@ -28,9 +29,9 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do
> +@@ -28,9 +29,9 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19; do
> echo "====stderr===="; cat $dir/down-res-err.$test) > $dir/down-res.$test
>
> 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
> result=false
> fi
> echo "=========="
> ---
> -2.17.1
> diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.39.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.41.bb
> similarity index 92%
> rename from meta/recipes-core/ifupdown/ifupdown_0.8.39.bb
> rename to 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"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>
> SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=master \
> - file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \
> file://99_network \
> + file://run-ptest \
> file://0001-Define-FNM_EXTMATCH-for-musl.patch \
> file://0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch \
> - file://run-ptest \
> file://0001-ifupdown-skip-wrong-test-case.patch \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'file://tweak-ptest-script.patch', '', d)} \
> + file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \
> + file://tweak-ptest-script.patch \
> "
> -SRCREV = "be91dd267b4a8db502a6bbf5758563f7048b8078"
> +SRCREV = "369d9d3c13a0c56ad09fd4f13b4a80eb9a94e270"
>
> S = "${WORKDIR}/git"
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#176841): https://lists.openembedded.org/g/openembedded-core/message/176841
> Mute This Topic: https://lists.openembedded.org/mt/96825753/7304865
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Qi.Chen@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2023-02-08 7:48 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 7:20 [PATCH 01/52] ifupdown: update 0.8.43 -> 0.8.41 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 02/52] python3-pip: update 22.3.1 -> 23.0 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 03/52] diffutils: update 3.8 -> 3.9 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 04/52] mc: update 4.8.28 -> 4.8.29 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 05/52] xf86-video-vmware: update 13.3.0 -> 13.4.0 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 06/52] lttng-tools: update 2.13.8 -> 2.13.9 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 07/52] rt-tests: update 2.4 -> 2.5 Alexander Kanavin
2023-02-08 7:20 ` [PATCH 08/52] apr: update 1.7.0 -> 1.7.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 09/52] apr-util: update 1.6.1 -> 1.6.3 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 10/52] glib-2.0: upgrade 2.74.4 -> 2.74.5 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 11/52] systemd: update 252.4 -> 252.5 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 12/52] cmake: upgrade 3.25.1 -> 3.25.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 13/52] python3-setuptools: update 65.7.0 -> 67.2.0 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 14/52] lighttpd: upgrade 1.4.67 -> 1.4.68 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 15/52] lsof: upgrade 4.96.5 -> 4.98.0 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 16/52] igt-gpu-tools: upgrade 1.26 -> 1.27.1 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 17/52] vulkan-headers: upgrade 1.3.236.0 -> 1.3.239.0 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 18/52] vulkan-loader: " Alexander Kanavin
2023-02-08 7:21 ` [PATCH 19/52] vulkan-tools: " Alexander Kanavin
2023-02-08 7:21 ` [PATCH 20/52] spirv-tools: " Alexander Kanavin
2023-02-08 7:21 ` [PATCH 21/52] glslang: " Alexander Kanavin
2023-02-08 7:21 ` [PATCH 22/52] spirv-headers: " Alexander Kanavin
2023-02-08 7:21 ` [PATCH 23/52] libxpm: upgrade 3.5.14 -> 3.5.15 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 24/52] rng-tools: upgrade 6.15 -> 6.16 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 25/52] fontconfig: upgrade 2.14.1 -> 2.14.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 26/52] btrfs-tools: upgrade 6.1.2 -> 6.1.3 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 27/52] ncurses: upgrade 6.3+20220423 -> 6.4 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 28/52] mpg123: upgrade 1.31.1 -> 1.31.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 29/52] python3-pycryptodomex: upgrade 3.16.0 -> 3.17 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 30/52] bind: upgrade 9.18.10 -> 9.18.11 Alexander Kanavin
2023-03-02 8:55 ` [OE-core] " Takayasu Ito
2023-02-08 7:21 ` [PATCH 31/52] libjpeg-turbo: upgrade 2.1.4 -> 2.1.5 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 32/52] pkgconf: upgrade 1.9.3 -> 1.9.4 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 33/52] python3-sphinx: upgrade 6.0.0 -> 6.1.3 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 34/52] python3-pycryptodome: upgrade 3.16.0 -> 3.17 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 35/52] python3-dtschema: upgrade 2022.12 -> 2023.1 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 36/52] ell: upgrade 0.55 -> 0.56 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 37/52] llvm: upgrade 15.0.6 -> 15.0.7 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 38/52] puzzles: upgrade to latest revision Alexander Kanavin
2023-02-08 7:21 ` [PATCH 39/52] msmtp: upgrade 1.8.22 -> 1.8.23 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 40/52] dpkg: upgrade 1.21.18 -> 1.21.19 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 41/52] shaderc: upgrade 2022.4 -> 2023.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 42/52] sysstat: upgrade 12.6.1 -> 12.6.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 43/52] piglit: upgrade to latest revision Alexander Kanavin
2023-02-08 7:21 ` [PATCH 44/52] ltp: upgrade 20220930 -> 20230127 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 45/52] linux-firmware: upgrade 20221214 -> 20230117 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 46/52] libinput: upgrade 1.22.0 -> 1.22.1 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 47/52] sudo: upgrade 1.9.12p1 -> 1.9.12p2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 48/52] diffoscope: upgrade 230 -> 234 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 49/52] texinfo: upgrade 7.0.1 -> 7.0.2 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 50/52] stress-ng: upgrade 0.15.02 -> 0.15.03 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 51/52] libgit2: upgrade 1.5.0 -> 1.5.1 Alexander Kanavin
2023-02-08 7:21 ` [PATCH 52/52] python3-pathspec: upgrade 0.10.3 -> 0.11.0 Alexander Kanavin
2023-02-08 7:48 ` ChenQi [this message]
2023-02-08 9:42 ` [OE-core] [PATCH 01/52] ifupdown: update 0.8.43 -> 0.8.41 Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91a725de-88b4-6dad-cd41-f6a44cd5d685@windriver.com \
--to=qi.chen@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox