summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-04-10 12:13:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:09:20 +0100
commit27a5883e8ae01e69f5425efe8b035bea7087b2f9 (patch)
treef47f84db33c8973bc5f69b45ceab4bca2592658b
parenta6ec56d372f833be50f57bcb79b6ebe78bb93be0 (diff)
downloadopenembedded-core-27a5883e8ae01e69f5425efe8b035bea7087b2f9.tar.gz
openembedded-core-27a5883e8ae01e69f5425efe8b035bea7087b2f9.tar.bz2
openembedded-core-27a5883e8ae01e69f5425efe8b035bea7087b2f9.zip
oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIR
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/sdk/cases/buildcpio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py
index 11d629a1d3..333dc7c226 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()