diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-04-10 12:13:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:10:18 +0100 |
commit | 1b4bd1b659dca55ebe831bf1378adfc68cfb6f5f (patch) | |
tree | 1e40cdb67ca990feada83a6448dc65b917d680a3 /meta/lib | |
parent | ba1d8e36917f9d048e0a6b1bc3450b492497c63c (diff) | |
download | poky-1b4bd1b659dca55ebe831bf1378adfc68cfb6f5f.tar.gz |
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
(From OE-Core rev: 27a5883e8ae01e69f5425efe8b035bea7087b2f9)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildcpio.py | 2 |
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): | |||
10 | dl_dir = self.td.get('DL_DIR', None) | 10 | dl_dir = self.td.get('DL_DIR', None) |
11 | 11 | ||
12 | self.project = SDKBuildProject(self.tc.sdk_dir + "/cpio/", self.tc.sdk_env, | 12 | self.project = SDKBuildProject(self.tc.sdk_dir + "/cpio/", self.tc.sdk_env, |
13 | "https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2", | 13 | "https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz", |
14 | self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) | 14 | self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) |
15 | self.project.download_archive() | 15 | self.project.download_archive() |
16 | 16 | ||