]> code.ossystems Code Review - openembedded-core.git/commit
gnupg: Extend -native wrapper to fix gpgme-native's gpgconf problems
authorJason Wessel <jason.wessel@windriver.com>
Wed, 11 Sep 2019 18:32:04 +0000 (11:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Sep 2019 16:51:59 +0000 (17:51 +0100)
commitf93bf3bd051923618ce3949d5686fdb8cf998645
tree3d156ee294ca757a0399f3cd4bce189daf10c362
parent727e6ce1f904abf1a1059fde759c3aaea37de199
gnupg: Extend -native wrapper to fix gpgme-native's gpgconf problems

The gpg commit signing in ostree-native doesn't work properly when
running from sstate.  The ostree-native is linked with gpgme-native's
libraries, which have calls into gpg.

Ultimately it turned out the problem was that gpgme calls gpgconf and
some of the other gnupg-native binaries directly.  Not all the
binaries have a wrapper which sets the environment variable GNUPG_BIN.
Without this wrapper these binaries it gets the path assignment from
the original compilation which causes a fault when running from sstate
in a new tmp directory because these paths will not exist.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/gnupg/gnupg_2.2.17.bb