summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2025-10-08 14:23:36 -0700
committerSteve Sakoman <steve@sakoman.com>2025-10-14 07:20:36 -0700
commite5fb48f3712b9dc64bceea24e1157ea278249236 (patch)
tree938fe87322ca6b2f4e379d66524cd3109b3f06be /meta/lib/oeqa/sdk
parent259d81175f77fc5a424655a4c0bb06a6964efbee (diff)
downloadpoky-e5fb48f3712b9dc64bceea24e1157ea278249236.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: 0d11c9103f072841baf39166efc133f2a20fc4dc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-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 e7fc211a47..00088d0ea0 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -17,7 +17,7 @@ class BuildCpioTest(OESDKTestCase):
17 """ 17 """
18 def test_cpio(self): 18 def test_cpio(self):
19 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: 19 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
20 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.gz") 20 tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.13.tar.gz")
21 21
22 dirs = {} 22 dirs = {}
23 dirs["source"] = os.path.join(testdir, "cpio-2.13") 23 dirs["source"] = os.path.join(testdir, "cpio-2.13")