diff mbox series

default-distrovars: set CONNECTIVITY_CHECK_URIS

Message ID 20190214150526.5401-1-ross.burton@intel.com
State Accepted
Commit 1cd9e258a4a7db98e6cb79ab13450cbb1eb94ba7
Headers show
Series default-distrovars: set CONNECTIVITY_CHECK_URIS | expand

Commit Message

Ross Burton Feb. 14, 2019, 3:05 p.m. UTC
Connectivity checking is useful, so set a default value of https://example.com/.
This checks both that we have connectivity and HTTPS makes it through any
proxies.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/conf/distro/include/default-distrovars.inc | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index f5ec6cef91e..76edff64800 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -52,3 +52,9 @@  ARCH_DEFAULT_KERNELIMAGETYPE_x86 = "bzImage"
 ARCH_DEFAULT_KERNELIMAGETYPE_x86-64 = "bzImage"
 KERNEL_IMAGETYPE ??= "${ARCH_DEFAULT_KERNELIMAGETYPE}"
 KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
+
+# The CONNECTIVITY_CHECK_URIS are used to test whether we can succesfully
+# fetch from the network (and warn you if not). To disable the test set
+# the variable to be empty.
+# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
+CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"