summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-23 00:31:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2026-01-26 09:49:25 +0000
commit6f2c1098a68f1488abb23fc0ce5945fcbb978864 (patch)
tree2273dcee55d9e28ccba758446269dedd6d39d167 /meta/lib/oeqa/sdk
parent74924f0891b97f71a5aab6e242d7c3a9f1907655 (diff)
downloadpoky-6f2c1098a68f1488abb23fc0ce5945fcbb978864.tar.gz
oeqa: Use 2.14 release of cpio instead of 2.13
2.13 may not be buildable with latest compilers without patching (From OE-Core rev: 64d56cf416b31ae92438deefe4028402120ed998) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 406a33f896accc35a9cb6ab156f1e0f42dda67d8) Backport: Fix [YOCTO #16137] by using the same archive as the cpio recipe, ensuring the archive is in DL_DIR and so, avoiding reaching unreliable upstream server. This upgrade is safe to do because this archive is only use to test that it compiles. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-rw-r--r--meta/lib/oeqa/sdk/cases/buildcpio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py
index 00088d0ea0..2e9d4f5f18 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -17,10 +17,10 @@ class BuildCpioTest(OESDKTestCase):
17 """ 17 """
18 def test_cpio(self): 18 def test_cpio(self):
19 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: 19 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
20 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.13.tar.gz") 20 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.14.tar.gz")
21 21
22 dirs = {} 22 dirs = {}
23 dirs["source"] = os.path.join(testdir, "cpio-2.13") 23 dirs["source"] = os.path.join(testdir, "cpio-2.14")
24 dirs["build"] = os.path.join(testdir, "build") 24 dirs["build"] = os.path.join(testdir, "build")
25 dirs["install"] = os.path.join(testdir, "install") 25 dirs["install"] = os.path.join(testdir, "install")
26 26