diff options
| author | Ross Burton <ross.burton@intel.com> | 2016-01-29 10:52:37 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:05 +0000 |
| commit | 423a2645377bff2cd7292e1dc9796eeb3595e937 (patch) | |
| tree | 23831b0cb16739791bea97b827abcb662369ea5a | |
| parent | 6c058cee7359168bed9ca74111c11dac034389ef (diff) | |
| download | poky-423a2645377bff2cd7292e1dc9796eeb3595e937.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)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta-yocto/conf/distro/poky.conf | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index 39419d5de5..76520fbba8 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 | 67 | CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" | |
| 68 | CONNECTIVITY_CHECK_URIS ?= " \ | ||
| 69 | https://eula-downloads.yoctoproject.org/index.php \ | ||
| 70 | http://bugzilla.yoctoproject.org/report.cgi" | ||
| 71 | 68 | ||
| 72 | SANITY_TESTED_DISTROS ?= " \ | 69 | SANITY_TESTED_DISTROS ?= " \ |
| 73 | poky-1.7 \n \ | 70 | poky-1.7 \n \ |
