Openembedded Core Discussions
 help / color / mirror / Atom feed
* [scarthgap][PATCH 1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error()
@ 2026-06-02 14:21 Robin Lintermann
  2026-06-02 14:21 ` [scarthgap][PATCH 2/5] busybox: add a DEPENDS on libpam when pam is selected in DISTRO_FEATURES Robin Lintermann
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Robin Lintermann @ 2026-06-02 14:21 UTC (permalink / raw)
  To: openembedded-core; +Cc: Robin Lintermann

The second raise_sanity_error() call in this class lacks the 'd'
parameter which would lead to a python exception rather than the
desired error message when the corresponding error condition is
fulfilled.

Signed-off-by: Robin Lintermann <rl@karo-electronics.de>
---
 meta/classes/sign_ipk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sign_ipk.bbclass b/meta/classes/sign_ipk.bbclass
index 51c24b38b2..9f666998ba 100644
--- a/meta/classes/sign_ipk.bbclass
+++ b/meta/classes/sign_ipk.bbclass
@@ -40,7 +40,7 @@ python () {
 
     sigtype = d.getVar("IPK_GPG_SIGNATURE_TYPE")
     if sigtype.upper() != "ASC" and sigtype.upper() != "BIN":
-        raise_sanity_error("Bad value for IPK_GPG_SIGNATURE_TYPE (%s), use either ASC or BIN" % sigtype)
+        raise_sanity_error("Bad value for IPK_GPG_SIGNATURE_TYPE (%s), use either ASC or BIN" % sigtype, d)
 }
 
 def sign_ipk(d, ipk_to_sign):
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-16 14:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02 14:21 [scarthgap][PATCH 1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error() Robin Lintermann
2026-06-02 14:21 ` [scarthgap][PATCH 2/5] busybox: add a DEPENDS on libpam when pam is selected in DISTRO_FEATURES Robin Lintermann
2026-06-02 14:21 ` [scarthgap][PATCH 3/5] util-linux: fix 'mount' options in mountall initscript Robin Lintermann
2026-06-02 14:21 ` [scarthgap][PATCH 4/5] alsa-utils: add runtime dependency on ncurses for 'alsamixer' Robin Lintermann
2026-06-02 14:31   ` Patchtest results for " patchtest
2026-06-02 14:21 ` [scarthgap][PATCH 5/5] update-alternatives.bbclass: Add a 'DISTRO_FEATURE' to create only relative symlinks Robin Lintermann
2026-06-16 14:40 ` [OE-core] [scarthgap][PATCH 1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error() Yoann Congal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox