summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2025-10-08 14:23:36 -0700
committerSteve Sakoman <steve@sakoman.com>2025-10-13 12:42:58 -0700
commit2eb674803a8814861496294ed419d6a166603f59 (patch)
tree8e7ae3cbca47763c3fbc4a4b71d9b842a835b7af /meta/lib/oeqa
parent6e74167ad419395d3e8b0c1790cf6eb78306baa7 (diff)
downloadpoky-2eb674803a8814861496294ed419d6a166603f59.tar.gz
oeqa/sdk/cases/buildcpio.py: use gnu mirror instead of main server
ftp.gnu.org is the main server of the GNU project, however download speed can vary greatly based on one's location. Using ftpmirror.gnu.org should redirect the request to the closest up-to-date mirror, which should result sometimes in significantly faster download speed, depending on one's location. This should also distribute the traffic more across the mirrors. This information was sourced from https://www.gnu.org/prep/ftp.html (From OE-Core rev: b0ce480eca6397fab71082ed202c3cf9dd02456f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/sdk/cases/buildcpio.py2
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 ab8fc41876..4148463267 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -24,7 +24,7 @@ class BuildCpioTest(OESDKTestCase):
24 24
25 def test_cpio(self): 25 def test_cpio(self):
26 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: 26 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
27 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.gz") 27 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.15.tar.gz")
28 28
29 dirs = {} 29 dirs = {}
30 dirs["source"] = os.path.join(testdir, "cpio-2.15") 30 dirs["source"] = os.path.join(testdir, "cpio-2.15")