[poky] [PATCH][V2] conf/distro/poky.conf: use iana.org for connectivity check
Ross Burton
ross.burton at intel.com
Thu Jan 28 05:20:56 PST 2016
Instead of pinging both the Yocto Project download site and bugzilla, use
https://www.iana.org/. As IANA are a key part of the Internet this site should
be available everywhere, for example google.com is generally blocked by the
Great Firewall of China. Also using a https: site verifies that any local
proxies are configured for HTTPS as well as HTTP.
In my testing this reduces the time taken for connectivity checks from 3 seconds
to 1 second.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta-yocto/conf/distro/poky.conf | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index 39419d5..5be0d5e 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -65,9 +65,7 @@ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
# the variable to be empty.
# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
-CONNECTIVITY_CHECK_URIS ?= " \
- https://eula-downloads.yoctoproject.org/index.php \
- http://bugzilla.yoctoproject.org/report.cgi"
+CONNECTIVITY_CHECK_URIS ?= "https://www.iana.org/"
SANITY_TESTED_DISTROS ?= " \
poky-1.7 \n \
--
2.6.4
More information about the poky
mailing list