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-12 17:05:35 +0000
commitad90bf2ad9eddb454f1955bfb07b2c4aa36b5b2f (patch)
tree1f6238239b1ae9ae0ffab9a5e7ba92cad1aacaa9 /meta
parent8fcf25bcda9deea558394cba3fcc7d3bbcff08dc (diff)
downloadpoky-ad90bf2ad9eddb454f1955bfb07b2c4aa36b5b2f.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: dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6) 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 f288b4c84c..773902e619 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -353,7 +353,7 @@ def check_connectivity(d):
353 msg += " Please ensure your host's network is configured correctly.\n" 353 msg += " Please ensure your host's network is configured correctly.\n"
354 msg += " If your ISP or network is blocking the above URL,\n" 354 msg += " If your ISP or network is blocking the above URL,\n"
355 msg += " try with another domain name, for example by setting:\n" 355 msg += " try with another domain name, for example by setting:\n"
356 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.yoctoproject.org/\"" 356 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
357 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n" 357 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n"
358 msg += " access if all required sources are on local disk.\n" 358 msg += " access if all required sources are on local disk.\n"
359 retval = msg 359 retval = msg
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index fb0f1097da..3bba651a77 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -54,4 +54,4 @@ KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
54# fetch from the network (and warn you if not). To disable the test set 54# fetch from the network (and warn you if not). To disable the test set
55# the variable to be empty. 55# the variable to be empty.
56# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master 56# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master
57CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" 57CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"