summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleimaohui <leimaohui@fujitsu.com>2025-04-17 18:38:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-20 10:11:16 +0100
commit2b945afae2c838204832b15ebc71569d6698394d (patch)
treec0fb198d26778d54d17d50454c4cfdf154f86363
parentcc77fb6cf549d5175d02d15b8cd41786833b9e6d (diff)
downloadpoky-2b945afae2c838204832b15ebc71569d6698394d.tar.gz
ethtool: upgrade 6.11 -> 6.14
Package metainfo xml to ${PN}, fix the issue that: | ERROR: ethtool-6.14-r0 do_package: QA Issue: ethtool: Files/directories were installed but not shipped in any package: | /usr/share/metainfo | /usr/share/metainfo/org.kernel.software.network.ethtool.metainfo.xml | Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. | ethtool: 2 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: 6c35f3dee3a8d9a32243b96060d07cccc24df52e) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch6
-rw-r--r--meta/recipes-extended/ethtool/ethtool_6.14.bb (renamed from meta/recipes-extended/ethtool/ethtool_6.11.bb)4
2 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
index 0fe482545a..4affc332a9 100644
--- a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
+++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
@@ -1,4 +1,4 @@
1From 74902bef8123b596437587bb48ad9b720cb06f64 Mon Sep 17 00:00:00 2001 1From 755cf01b02e6ec8c8acb79558cbad28e301519b3 Mon Sep 17 00:00:00 2001
2From: Tudor Florea <tudor.florea@enea.com> 2From: Tudor Florea <tudor.florea@enea.com>
3Date: Wed, 28 May 2014 18:59:54 +0200 3Date: Wed, 28 May 2014 18:59:54 +0200
4Subject: [PATCH] ethtool: use serial-tests config needed by ptest. 4Subject: [PATCH] ethtool: use serial-tests config needed by ptest.
@@ -14,10 +14,10 @@ Upstream-Status: Inappropriate
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
17index f6fe260..65a0566 100644 17index db71394..5e93135 100644
18--- a/configure.ac 18--- a/configure.ac
19+++ b/configure.ac 19+++ b/configure.ac
20@@ -3,7 +3,7 @@ AC_INIT(ethtool, 6.10, netdev@vger.kernel.org) 20@@ -3,7 +3,7 @@ AC_INIT(ethtool, 6.14, netdev@vger.kernel.org)
21 AC_PREREQ(2.52) 21 AC_PREREQ(2.52)
22 AC_CONFIG_MACRO_DIR([m4]) 22 AC_CONFIG_MACRO_DIR([m4])
23 AC_CONFIG_SRCDIR([ethtool.c]) 23 AC_CONFIG_SRCDIR([ethtool.c])
diff --git a/meta/recipes-extended/ethtool/ethtool_6.11.bb b/meta/recipes-extended/ethtool/ethtool_6.14.bb
index c4808c5856..41164ac6ca 100644
--- a/meta/recipes-extended/ethtool/ethtool_6.11.bb
+++ b/meta/recipes-extended/ethtool/ethtool_6.14.bb
@@ -11,7 +11,7 @@ SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
11 file://avoid_parallel_tests.patch \ 11 file://avoid_parallel_tests.patch \
12 " 12 "
13 13
14SRC_URI[sha256sum] = "a8bee475d991939cad182b7dbcf3a1f139aeed8cb0add73d72084cd71d43282b" 14SRC_URI[sha256sum] = "3dbfc910513d1fef683f27ab12325cc88551abffae66d0ad3afe2a13317d2339"
15 15
16UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/" 16UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/"
17 17
@@ -22,6 +22,8 @@ RDEPENDS:${PN}-ptest += "make bash"
22PACKAGECONFIG ?= "netlink" 22PACKAGECONFIG ?= "netlink"
23PACKAGECONFIG[netlink] = "--enable-netlink,--disable-netlink,libmnl," 23PACKAGECONFIG[netlink] = "--enable-netlink,--disable-netlink,libmnl,"
24 24
25FILES:${PN} += "${datadir}/metainfo/org.kernel.software.network.ethtool.metainfo.xml"
26
25do_compile_ptest() { 27do_compile_ptest() {
26 oe_runmake buildtest-TESTS 28 oe_runmake buildtest-TESTS
27} 29}