summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2015-05-08 13:21:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-12 12:13:27 +0100
commit40ff92282bbf32cf644b021bf7cbb1f393dbb856 (patch)
tree869b6339e46298ade8cda0bc5c844c4d23d81b6e /lib/bb/fetch2/__init__.py
parent9b7fae5c36c7b48237ce7903434602ebc1a07b20 (diff)
downloadopenembedded-core-contrib-40ff92282bbf32cf644b021bf7cbb1f393dbb856.tar.gz
fetch2: Allow git to use a different CA Bundle with private keys
Setting BB_ENV_EXTRAWHITE to include GIT_SSL_CAINFO is enough to get "git ls-remote" to work for recipe parsing but it is not enough to get the fetcher to clone properly. This is because the fetcher has its own idea about what variables should be exported in the environment for some operations. It is desirable to use alternate CA Bundles for internal testing prior to using public keys for https, so we should allow the GIT_SSL_CAINFO to pass through. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index b004dae0d4..36c955473a 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -783,6 +783,7 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
'NO_PROXY', 'no_proxy',
'ALL_PROXY', 'all_proxy',
'GIT_PROXY_COMMAND',
+ 'GIT_SSL_CAINFO',
'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
'SOCKS5_USER', 'SOCKS5_PASSWD']