From: mac@mcrowe.com
To: openembedded-core@lists.openembedded.org
Cc: Mike Crowe <mac@mcrowe.com>
Subject: [PATCH] sanity: Emit the error message if CONNECTIVITY_CHECK_MSG is set
Date: Mon, 3 Nov 2025 15:42:34 +0000 [thread overview]
Message-ID: <20251103154234.3072747-1-mac@mcrowe.com> (raw)
From: Mike Crowe <mac@mcrowe.com>
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 <mac@mcrowe.com>
---
meta/classes-global/sanity.bbclass | 2 ++
1 file changed, 2 insertions(+)
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):
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
--
2.39.5
reply other threads:[~2025-11-03 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251103154234.3072747-1-mac@mcrowe.com \
--to=mac@mcrowe.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox