All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] docs: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct
@ 2022-08-18  7:52 Shubham Kulkarni
  0 siblings, 0 replies; only message in thread
From: Shubham Kulkarni @ 2022-08-18  7:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: Shubham Kulkarni

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.

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
---
 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 4104694..4a403a2 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/\""
-- 
2.7.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-18  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18  7:52 [OE-core][PATCH] docs: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct Shubham Kulkarni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.