summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-10-04 14:08:37 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-06 16:59:34 +0100
commit191e61a39caea6b562c4cf09667b9015e3723bb2 (patch)
tree6e5b0fd96d085843de9ab9c644864b95810793dd
parent68d27961d14329579fcc665dfb306af3fe5170e7 (diff)
downloadpoky-191e61a39caea6b562c4cf09667b9015e3723bb2.tar.gz
fetch2: Export additional variables to the fetchers
git could need these environment variables when working behind a proxy (Bitbake rev: dca46cc2e1c75b6add2c4801e2994a4812745f5b) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f6fa46c610..fb6138b028 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -385,7 +385,8 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
385 exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST', 385 exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST',
386 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 386 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy',
387 'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy', 387 'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy',
388 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME'] 388 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME',
389 'GIT_PROXY_IGNORE', 'SOCKS5_USER', 'SOCKS5_PASSWD']
389 390
390 for var in exportvars: 391 for var in exportvars:
391 val = bb.data.getVar(var, d, True) 392 val = bb.data.getVar(var, d, True)