]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Dec 2021 15:28:57 +0000 (15:28 +0000)
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>
meta/lib/oeqa/selftest/cases/bbtests.py

index a74576bc02bc3ca2afae1c0b43ea19a8b4117fc9..246cb032bfbd86ad75c4fd9c3c787afd89f026d4 100644 (file)
@@ -160,7 +160,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')