]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/bbtests: Use YP sources mirror instead of GNU
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Dec 2021 14:12:15 +0000 (14:12 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 28 Dec 2021 04:39:57 +0000 (12:39 +0800)
The gnu sources server has been known to disappear. Use the YP sources
mirror instead. If that breaks, the autobuilder is broken anyway. This
should reduce test failures from upstream network issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5459e42f1a6be9c08f303653cc1f73514eca9ef)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit fb18fcbd2529555ab98297671e3e6f68a8fd6556)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/selftest/cases/bbtests.py

index a8b6231d83929378fd158f49fb13ac5e1cfd8d04..0a618bb9a6c9949ae2a62941b517ab7cc60bd6ad 100644 (file)
@@ -163,7 +163,7 @@ SSTATE_DIR = \"${TOPDIR}/download-selftest\"
 """)
         self.track_for_cleanup(os.path.join(self.builddir, "download-selftest"))
 
-        data = 'SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz;downloadfilename=test-aspell.tar.gz"'
+        data = 'SRC_URI = "https://downloads.yoctoproject.org/mirror/sources/aspell-${PV}.tar.gz;downloadfilename=test-aspell.tar.gz"'
         self.write_recipeinc('aspell', data)
         result = bitbake('-f -c fetch aspell', ignore_status=True)
         self.delete_recipeinc('aspell')