Skip to contentSkip to conversation

Allow original $GPG_AGENT_INFO into do_fetch

PATCH New Steven Walter 1 participant 1 message Jan 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Allow original $GPG_AGENT_INFO into do_fetch

subversion 1.9 uses gpg to encrypt authentication details that are stored in ~/.subversion. This means that GPG_AGENT_INFO needs to be available when svn is run by do_fetch, or else svn will not be able to authenticate to the remote server. Treat GPG_AGENT_INFO like SSH_AUTH_SOCK, including it in the fetch environment and BB_ENV_EXTRAWHITE

---
 bitbake/lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
bitbake/lib/bb/fetch2/__init__.py +1 -0
index 07de6c2693..e920d5f491 100644
@@ -819,6 +819,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
                   'GIT_SSL_CAINFO',
                   'GIT_SMART_HTTP',
                   'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
+                  'GPG_AGENT_INFO',
                   'SOCKS5_USER', 'SOCKS5_PASSWD',
                   'DBUS_SESSION_BUS_ADDRESS',
                   'P4CONFIG']
Signature · 1 line
2.24.1