diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2015-05-08 13:21:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-12 12:14:14 +0100 |
commit | d30aedcdf91d78c1553d8aa1f6769d3afa5cce8e (patch) | |
tree | ebcd69581539aa2d6166a39741ac460b65383afe /bitbake/lib/bb/fetch2 | |
parent | cc63e1568bd890fc26fa42012ef5f3ccce63f74d (diff) | |
download | poky-d30aedcdf91d78c1553d8aa1f6769d3afa5cce8e.tar.gz |
bitbake: 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.
(Bitbake rev: 40ff92282bbf32cf644b021bf7cbb1f393dbb856)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index b004dae0d4..36c955473a 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -783,6 +783,7 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []): | |||
783 | 'NO_PROXY', 'no_proxy', | 783 | 'NO_PROXY', 'no_proxy', |
784 | 'ALL_PROXY', 'all_proxy', | 784 | 'ALL_PROXY', 'all_proxy', |
785 | 'GIT_PROXY_COMMAND', | 785 | 'GIT_PROXY_COMMAND', |
786 | 'GIT_SSL_CAINFO', | ||
786 | 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', | 787 | 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', |
787 | 'SOCKS5_USER', 'SOCKS5_PASSWD'] | 788 | 'SOCKS5_USER', 'SOCKS5_PASSWD'] |
788 | 789 | ||