Skip to contentSkip to conversation

default-distrovars: set CONNECTIVITY_CHECK_URIS

PATCH New Ross Burton 1 participant 1 message Feb 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 default-distrovars: set CONNECTIVITY_CHECK_URIS

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.

---
 meta/conf/distro/include/default-distrovars.inc | 6 ++++++
 1 file changed, 6 insertions(+)
meta/conf/distro/include/default-distrovars.inc +6 -0
index f5ec6cef91e..76edff64800 100644
@@ -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/"
Signature · 1 line
2.11.0