]> code.ossystems Code Review - openembedded-core.git/commit
gnupg: Read GNUPG_BINDIR from environment variables for nativesdk
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 6 Jan 2020 10:30:32 +0000 (18:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Feb 2020 22:41:45 +0000 (22:41 +0000)
commitc6b00b5594adec0a7d7a7f3617fb99b65ea8d9f1
treebd8e17741ab015e4d8cf9c972a0ca4d275b1e125
parent9521c66e0edb2b36c3d5c777ec7a7158b40452d4
gnupg: Read GNUPG_BINDIR from environment variables for nativesdk

There is already a relocate.patch for native which is used for reading
GNUPG_BINDIR from environment variables, now also enable it for nativesdk.
Otherwise, command like the following one doesn't work for nativesdk:

$ gpg-connect-agent --homedir ../keys/ reloadagent /bye
gpg-connect-agent: no running gpg-agent - starting '/opt/path/to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent'
gpg-connect-agent: failed to start agent '/opt/path/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_2.2.19.bb