[OE-core] [PATCH] oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIR

Joshua Lock joshua.g.lock at intel.com
Mon Apr 10 11:13:39 UTC 2017


All build project test cases will try to copy the requested source
artefacts from DL_DIR before fetching. This testcase is referencing bzipped
tarball whereas the recipe fetches a gzipped tarball.

Switch to fetching the gzipped tarball in the test case so that we're able
to use a cached tarball from DL_DIR

Signed-off-by: Joshua Lock <joshua.g.lock at intel.com>
---
 meta/lib/oeqa/sdk/cases/buildcpio.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py
index 11d629a..333dc7c 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -10,7 +10,7 @@ class BuildCpioTest(OESDKTestCase):
         dl_dir = self.td.get('DL_DIR', None)
 
         self.project = SDKBuildProject(self.tc.sdk_dir + "/cpio/", self.tc.sdk_env,
-                        "https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2",
+                        "https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz",
                         self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir)
         self.project.download_archive()
 
-- 
2.9.3




More information about the Openembedded-core mailing list