diff options
| author | Shubham Kulkarni <skulkarni@mvista.com> | 2022-08-18 13:22:38 +0530 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-31 16:54:17 +0100 |
| commit | 7712782d90a84791ceb68712d4af242f1d0e8e60 (patch) | |
| tree | 338db473c054eb10e3ecf4239a0d95e593a678e5 | |
| parent | ed9a6adb5de70bb3f7d99152c0f158600c60b561 (diff) | |
| download | poky-7712782d90a84791ceb68712d4af242f1d0e8e60.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: da97905d20454b90b4513a1f49b55cc89f9260d2)
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>
(cherry picked from commit 9865176df6b6362a410b0fc3c115d942462dc338)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/sanity.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index b1fac107d5..a79e36b594 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -351,6 +351,7 @@ def check_connectivity(d): | |||
| 351 | if len(msg) == 0: | 351 | if len(msg) == 0: |
| 352 | msg = "%s.\n" % err | 352 | msg = "%s.\n" % err |
| 353 | msg += " Please ensure your host's network is configured correctly.\n" | 353 | msg += " Please ensure your host's network is configured correctly.\n" |
| 354 | msg += " Please ensure CONNECTIVITY_CHECK_URIS is correct and specified URIs are available.\n" | ||
| 354 | msg += " If your ISP or network is blocking the above URL,\n" | 355 | msg += " If your ISP or network is blocking the above URL,\n" |
| 355 | msg += " try with another domain name, for example by setting:\n" | 356 | msg += " try with another domain name, for example by setting:\n" |
| 356 | msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" | 357 | msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" |
