From 359ca09e7d520fcec7bc0048f5f42f7f97dea7ec Mon Sep 17 00:00:00 2001 From: Shubham Kulkarni Date: Thu, 18 Aug 2022 13:22:38 +0530 Subject: sanity: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct In sanity.bbclass, in function check_connectivity : Connectivity is tested by fetching URIs in variable CONNECTIVITY_CHECK_URIS. If none is accessible, the status error is ambiguous. It says to ensure the host's network is correctly configured but never if the remote is available. (From OE-Core rev: 9865176df6b6362a410b0fc3c115d942462dc338) Signed-off-by: Shubham Kulkarni Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/classes-global/sanity.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 4104694478..4a403a2590 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -357,6 +357,7 @@ def check_connectivity(d): if len(msg) == 0: msg = "%s.\n" % err msg += " Please ensure your host's network is configured correctly.\n" + msg += " Please ensure CONNECTIVITY_CHECK_URIS is correct and specified URIs are available.\n" msg += " If your ISP or network is blocking the above URL,\n" msg += " try with another domain name, for example by setting:\n" msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" -- cgit v1.2.3-54-g00ecf