[OE-core] [PATCH 2/2] opkg: Add runtime dep on gnupg if 'gpg' is in PACAKGECONFIG

Paul Barker paul at paulbarker.me.uk
Thu Aug 14 17:19:06 UTC 2014


On Thu, Aug 14, 2014 at 07:16:53PM +0200, Martin Jansa wrote:
> On Thu, Aug 14, 2014 at 04:50:33PM +0000, Paul Barker wrote:
> > On Fri, Aug 08, 2014 at 12:16:28PM +0000, Paul Barker wrote:
> > > On Fri, Aug 08, 2014 at 02:13:46PM +0200, Martin Jansa wrote:
> > > > On Fri, Aug 08, 2014 at 11:37:09AM +0000, Paul Barker wrote:
> > > > > The 'opkg-key' utility requires gpg to manage the list of trusted keys. The
> > > > > ability to verify package signatures is not much use without the ability to add
> > > > > keys to the trusted list...
> > > > > 
> > > > > Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
> > > > > ---
> > > > >  meta/recipes-devtools/opkg/opkg.inc | 2 +-
> > > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > > 
> > > > > diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
> > > > > index ba21d84..56c54b6 100644
> > > > > --- a/meta/recipes-devtools/opkg/opkg.inc
> > > > > +++ b/meta/recipes-devtools/opkg/opkg.inc
> > > > > @@ -27,7 +27,7 @@ OPKGLIBDIR = "${target_localstatedir}/lib"
> > > > >  
> > > > >  PACKAGECONFIG ??= ""
> > > > >  
> > > > > -PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error"
> > > > > +PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error,gnupg"
> > > > 
> > > > Shouldn't this be gpgme?
> > > > 
> > > 
> > > Which bit? The PACKAGECONFIG name or one of the comma separated fields?
> > > 
> > 
> > Sorry Martin, I didn't understand your comment. Could you clarify for me?
> 
> Sorry for late reply, I haven't noticed your earlier e-mail.
> 
> It has build-time dependency on gpgme and runtime dependency on gnupg
> (in comma separated fields) - it could be OK, I just wasn't sure.
> 
> Is opkg-key calling gnupg tools?
> 

Yes, opkg-key is just a shell script which runs 'gpg' with appropriate command
line options. The main opkg program uses the gpgme library instead.

Thanks,

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140814/50c0e67d/attachment-0002.sig>


More information about the Openembedded-core mailing list