On Tue Jun 2, 2026 at 4:21 PM CEST, Robin Lintermann via lists.openembedded.org
wrote:
> 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 <[email protected]>
> ---
Hello,
We have a strict "master-first" policy so any patch needs to be merged
on all the more recent supported branches before merging on scarthgap
(in this case: master and wrynose).
This patch (and the other patches of this series by quickly glancing at
them) is needed on master.
Can you please sent it there first, and then, ping back here so I can
take them for scarthgap.
Thanks!
> 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):
--
Yoann Congal
Smile ECS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238904):
https://lists.openembedded.org/g/openembedded-core/message/238904
Mute This Topic: https://lists.openembedded.org/mt/119612016/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-