diff options
author | Shubham Kulkarni <skulkarni@mvista.com> | 2022-08-18 13:22:38 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-21 22:51:43 +0100 |
commit | 359ca09e7d520fcec7bc0048f5f42f7f97dea7ec (patch) | |
tree | b3934fa77480bad252540861a41c00854c9048ec | |
parent | d9c8d84f2b4680ad7303460257f98810dc57d379 (diff) | |
download | poky-359ca09e7d520fcec7bc0048f5f42f7f97dea7ec.tar.gz |
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 <skulkarni@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes-global/sanity.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
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): | |||
357 | if len(msg) == 0: | 357 | if len(msg) == 0: |
358 | msg = "%s.\n" % err | 358 | msg = "%s.\n" % err |
359 | msg += " Please ensure your host's network is configured correctly.\n" | 359 | msg += " Please ensure your host's network is configured correctly.\n" |
360 | msg += " Please ensure CONNECTIVITY_CHECK_URIS is correct and specified URIs are available.\n" | ||
360 | msg += " If your ISP or network is blocking the above URL,\n" | 361 | msg += " If your ISP or network is blocking the above URL,\n" |
361 | msg += " try with another domain name, for example by setting:\n" | 362 | msg += " try with another domain name, for example by setting:\n" |
362 | msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" | 363 | msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" |