summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2025-11-03 15:42:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:15:35 +0000
commit0bc53e9068e98c0beb66d1aac278c16e1c03c540 (patch)
treea3e9cf135279d3e6c9e7aaf59300371f936743d0 /meta
parent5487c1abb8f8c9edce0cb3ea1be8f919fed7ece1 (diff)
downloadpoky-0bc53e9068e98c0beb66d1aac278c16e1c03c540.tar.gz
sanity: Emit the error message if CONNECTIVITY_CHECK_MSG is set
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. (From OE-Core rev: 757c71943accf3086d9a215c879787de50aa011e) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-global/sanity.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass
index 6934e071a3..c89ff2c51f 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -368,6 +368,8 @@ def check_connectivity(d):
368 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\"" 368 msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
369 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n" 369 msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n"
370 msg += " access if all required sources are on local disk.\n" 370 msg += " access if all required sources are on local disk.\n"
371 else:
372 msg = "%s.\n%s" % (err, msg)
371 retval = msg 373 retval = msg
372 374
373 return retval 375 return retval