Message ID | 1637577081-10827-1-git-send-email-jyothik41rao@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [oe] meta-swupdate][PATCH v2 4/4] Fix build issue w.r.t sign_tool | expand |
On 22.11.21 11:31, Jyothi wrote: > Signed-off-by: Jyothi <jyothik41rao@gmail.com> > --- > classes/swupdate-common.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/classes/swupdate-common.bbclass b/classes/swupdate-common.bbclass > index c91ee4e..bbb68b3 100644 > --- a/classes/swupdate-common.bbclass > +++ b/classes/swupdate-common.bbclass > @@ -261,7 +261,7 @@ def prepare_sw_description(d): > > if signing == "CUSTOM": > signcmd = d.getVar('SWUPDATE_SIGN_TOOL', True) > - if not sign_tool: > + if not signcmd: > bb.fatal("Custom SWUPDATE_SIGN_TOOL is not given") > elif signing == "RSA": > privkey = d.getVar('SWUPDATE_PRIVATE_KEY', True) > Applied to: To github.com:sbabic/meta-swupdate.git 89d059e..c1ee06e dunfell -> dunfell cc07581..f90e0a3 hardknott -> hardknott 557b1b5..e10c640 honister -> honister 01968a3..ca3cd75 master -> master Best regards, Stefano Babic
diff --git a/classes/swupdate-common.bbclass b/classes/swupdate-common.bbclass index c91ee4e..bbb68b3 100644 --- a/classes/swupdate-common.bbclass +++ b/classes/swupdate-common.bbclass @@ -261,7 +261,7 @@ def prepare_sw_description(d): if signing == "CUSTOM": signcmd = d.getVar('SWUPDATE_SIGN_TOOL', True) - if not sign_tool: + if not signcmd: bb.fatal("Custom SWUPDATE_SIGN_TOOL is not given") elif signing == "RSA": privkey = d.getVar('SWUPDATE_PRIVATE_KEY', True)
Signed-off-by: Jyothi <jyothik41rao@gmail.com> --- classes/swupdate-common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)