| Message ID | 20260602142132.976138-1-rl@karo-electronics.de |
|---|---|
| State | Awaiting Upstream, archived |
| Delegated to: | Yoann Congal |
| Headers | show |
| Series | [scarthgap,1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error() | expand |
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 <rl@karo-electronics.de> > --- 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):
On Tue Jun 16, 2026 at 4:40 PM CEST, Yoann Congal wrote: > 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 <rl@karo-electronics.de> >> --- > > 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. Hello Robin, Gentle ping for these patches, do you plan to get them merged on master and wrynose? Regards, > > 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):
On Mon Jul 6, 2026 at 7:14 PM CEST, Yoann Congal wrote: > On Tue Jun 16, 2026 at 4:40 PM CEST, Yoann Congal wrote: >> 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 <rl@karo-electronics.de> >>> --- >> >> 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. > > Hello Robin, > > Gentle ping for these patches, do you plan to get them merged on master > and wrynose? Hello, I will now drop this patch. Please send a new submission if the above situation changes. Regards,
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):
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(-)