summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-01-29 10:52:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 09:40:17 +0100
commit16d64def97154d76fc1134ecd6cf9d704621e689 (patch)
tree35ee3933d33880b02af642be398344d527fea799 /meta-yocto
parenta31931e2904c042c48dad378cea813456df0405f (diff)
downloadpoky-16d64def97154d76fc1134ecd6cf9d704621e689.tar.gz
conf/distro/poky.conf: use example.com for connectivity check
Instead of pinging both the Yocto Project download and bugzilla sites, use https://www.example.com/. This is a reserved domain name and hosted by IANA, so is a key part of the Internet and should be available everywhere (whereas 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. (From meta-yocto rev: b253c6073be44090a19d1743deb58ef566853056) (From meta-yocto rev: c27b1d6ccac67ff3ed16079fcbe0f9a8644499ed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/distro/poky.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index f654f9eacf..2f01348511 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -64,10 +64,7 @@ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
64# fetch from the network (and warn you if not). To disable the test set 64# fetch from the network (and warn you if not). To disable the test set
65# the variable to be empty. 65# the variable to be empty.
66# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master 66# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
67 67CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
68CONNECTIVITY_CHECK_URIS ?= " \
69 https://eula-downloads.yoctoproject.org/index.php \
70 http://bugzilla.yoctoproject.org/report.cgi"
71 68
72SANITY_TESTED_DISTROS ?= " \ 69SANITY_TESTED_DISTROS ?= " \
73 poky-1.7 \n \ 70 poky-1.7 \n \