]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gnupg: Read GNUPG_BINDIR from environment variables for nativesdk rbt/gnupg
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 3 Jan 2020 09:58:58 +0000 (17:58 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 6 Jan 2020 10:25:36 +0000 (18:25 +0800)
commit281727c8444cda2b543f94e43f947e1cdc018be0
treef166d468e467151ba5edef761e536fa899084b63
parent53cf1241fa4721ba89955146099749d05c5d7171
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>
meta/recipes-support/gnupg/gnupg_2.2.17.bb