diff options
author | Matthew McClintock <msm@freescale.com> | 2011-10-04 14:08:37 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-05 14:23:16 +0100 |
commit | dca46cc2e1c75b6add2c4801e2994a4812745f5b (patch) | |
tree | 93c8406b3fca3c6f3c1725bec7e43f2513a4a0d3 /lib | |
parent | a7b75e4db52445b30ec0fc0053dcf454f5f7d2db (diff) | |
download | bitbake-dca46cc2e1c75b6add2c4801e2994a4812745f5b.tar.gz |
fetch2: Export additional variables to the fetchers
git could need these environment variables when working behind
a proxy
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/fetch2/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index f6fa46c61..fb6138b02 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -385,7 +385,8 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []): exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy', - 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME'] + 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME', + 'GIT_PROXY_IGNORE', 'SOCKS5_USER', 'SOCKS5_PASSWD'] for var in exportvars: val = bb.data.getVar(var, d, True) |