diff options
author | Deepak Rathore <deeratho@cisco.com> | 2025-08-29 05:51:19 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-09 09:30:07 -0700 |
commit | 199b07672708e206a76470fb9ceb5fafbdd845dd (patch) | |
tree | 3f7ac999ef59034f21e4584c2e740bf87a6ff84d /meta/lib | |
parent | ebbcc0a3c69ea7664e6f94dde2ce5d3b5d38ee6f (diff) | |
download | poky-199b07672708e206a76470fb9ceb5fafbdd845dd.tar.gz |
default-distrovars.inc: Fix CONNECTIVITY_CHECK_URIS redirect issue
The default CONNECTIVITY_CHECK_URIS uses "https://yoctoproject.org/connectivity.html"
which redirect to "https://www.yoctoproject.org/connectivity.html".
Some network configurations with proxies or restricted internet access
don't handle HTTP redirects properly during the sanity check phase,
causing build failures with:
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Fetcher failure for URL: 'https://yoctoproject.org/connectivity.html'. URL doesn't work.
Updated the default URL to use the final destination directly to avoid
redirect-related connectivity check failures.
Also updated SDK test cases in https.py to use the corrected URL for
consistency.
(From OE-Core rev: 894648f4173a8a0e489e720e2b543cd22e39a878)
Signed-off-by: Deepak Rathore <deeratho@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60cdf960a3560f391babd559737f1afb31fb2c5c)
Signed-off-by: Deepak Rathore <deeratho@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/buildtools-cases/https.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/buildtools-cases/https.py b/meta/lib/oeqa/sdk/buildtools-cases/https.py index 4525e3d758..98f27e5994 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/https.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/https.py | |||
@@ -15,8 +15,8 @@ class HTTPTests(OESDKTestCase): | |||
15 | """ | 15 | """ |
16 | 16 | ||
17 | def test_wget(self): | 17 | def test_wget(self): |
18 | self._run('env -i wget --debug --output-document /dev/null https://yoctoproject.org/connectivity.html') | 18 | self._run('env -i wget --debug --output-document /dev/null https://www.yoctoproject.org/connectivity.html') |
19 | 19 | ||
20 | def test_python(self): | 20 | def test_python(self): |
21 | # urlopen() returns a file-like object on success and throws an exception otherwise | 21 | # urlopen() returns a file-like object on success and throws an exception otherwise |
22 | self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://yoctoproject.org/connectivity.html")\'') | 22 | self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://www.yoctoproject.org/connectivity.html")\'') |