From: Richard Purdie Date: Fri, 5 Jan 2018 16:09:47 +0000 (+0000) Subject: oeqa/runtime/buildcpio: Use our own mirror for source X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=038d7270aef0cccf87d50a117160c58261beb9b9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py index 59edc9c2c17..79b22d04dd0 100644 --- a/meta/lib/oeqa/runtime/cases/buildcpio.py +++ b/meta/lib/oeqa/runtime/cases/buildcpio.py @@ -9,8 +9,7 @@ class BuildCpioTest(OERuntimeTestCase): @classmethod def setUpClass(cls): - uri = 'https://ftp.gnu.org/gnu/cpio' - uri = '%s/cpio-2.12.tar.bz2' % uri + uri = 'https://downloads.yoctoproject.org/mirror/sources/cpio-2.12.tar.gz' cls.project = TargetBuildProject(cls.tc.target, uri, dl_dir = cls.tc.td['DL_DIR'])