summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-05 16:09:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:11:59 +0000
commit97f25380090e94cd466de42c2430ac39fcf18cf9 (patch)
treefee9a0503e215cfa32d7b2e36c58a7ef5730ff79
parent9a2074b54a39358df0a21f735d755dbf8e5367d1 (diff)
downloadpoky-97f25380090e94cd466de42c2430ac39fcf18cf9.tar.gz
oeqa/runtime/buildcpio: Use our own mirror for source
We see occasional network glitches which break this test. Use our own mirror (which has a .gz instead of .bz2) to avoid the errors, we're not trying to test network connectivity. (From OE-Core rev: 01df65be2ae4bc337e10babeb9c2394d71ddff84) (From OE-Core rev: b37a049327626ffc6413e53a2d23c55cf18af7f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/cases/buildcpio.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py
index 59edc9c2c1..79b22d04dd 100644
--- a/meta/lib/oeqa/runtime/cases/buildcpio.py
+++ b/meta/lib/oeqa/runtime/cases/buildcpio.py
@@ -9,8 +9,7 @@ class BuildCpioTest(OERuntimeTestCase):
9 9
10 @classmethod 10 @classmethod
11 def setUpClass(cls): 11 def setUpClass(cls):
12 uri = 'https://ftp.gnu.org/gnu/cpio' 12 uri = 'https://downloads.yoctoproject.org/mirror/sources/cpio-2.12.tar.gz'
13 uri = '%s/cpio-2.12.tar.bz2' % uri
14 cls.project = TargetBuildProject(cls.tc.target, 13 cls.project = TargetBuildProject(cls.tc.target,
15 uri, 14 uri,
16 dl_dir = cls.tc.td['DL_DIR']) 15 dl_dir = cls.tc.td['DL_DIR'])