summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-11 17:42:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-20 15:32:27 +0000
commit35eb6d39517ccf9f69b394fa0d6e51f52d48ebdf (patch)
tree8d06c2f2d8190f718b93d710cdb06a6e941b330c /meta
parent64c9ffe743ed0a43d4b92661a321f36f3036680c (diff)
downloadpoky-35eb6d39517ccf9f69b394fa0d6e51f52d48ebdf.tar.gz
default-distrovars.inc: Switch connectivity check to a yoctoproject.org page
example.com is proving unreliable at present so switch to our own connectivity page instead. That page is very simple avoiding app overhead on our web server which was an original reason for switching to example.com. (From OE-Core rev: 3d9f68e06736817871d8694fe0c6e779c005872b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass2
-rw-r--r--meta/conf/distro/include/default-distrovars.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index a2ac4eeb80..c8a42dc8bf 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -395,7 +395,7 @@ def check_connectivity(d):
395 msg += " Please ensure your host's network is configured correctly.\n" 395 msg += " Please ensure your host's network is configured correctly.\n"
396 msg += " If your ISP or network is blocking the above URL,\n" 396 msg += " If your ISP or network is blocking the above URL,\n"
397 msg += " try with another domain name, for example by setting:\n" 397 msg += " try with another domain name, for example by setting:\n"
398 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.yoctoproject.org/\"" 398 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
399 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n" 399 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n"
400 msg += " access if all required sources are on local disk.\n" 400 msg += " access if all required sources are on local disk.\n"
401 retval = msg 401 retval = msg
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index 0240589c81..038acc1504 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -48,4 +48,4 @@ KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
48# fetch from the network (and warn you if not). To disable the test set 48# fetch from the network (and warn you if not). To disable the test set
49# the variable to be empty. 49# the variable to be empty.
50# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master 50# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master
51CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" 51CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"