sanity: Emit the error message if CONNECTIVITY_CHECK_MSG is set
PATCH 1/1 sanity: Emit the error message if CONNECTIVITY_CHECK_MSG is set
From: Mike Crowe <[email protected]>
Users may still be interested in the actual error message even if there is a custom message for failure of the connectivity check since the cause may be intermittent.
Signed-off-by Mike Crowe <[email protected]>
--- meta/classes-global/sanity.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes-global/sanity.bbclass +2 -0
@@ -368,6 +368,8 @@ def check_connectivity(d): msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n" msg += " access if all required sources are on local disk.\n" + else: + msg = "%s.\n%s" % (err, msg) retval = msg return retval
Signature · 1 line
2.39.5