summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2010-09-29 01:42:42 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-07 10:18:25 +0100
commit0a20caf0909f5429176e664a8992ebe2b9ad37c9 (patch)
treef6114398bbc65ec32f6560311fe29612c1361676 /bitbake/lib
parente12c57e877b64d108c7e774c7785236436058973 (diff)
downloadopenembedded-core-0a20caf0909f5429176e664a8992ebe2b9ad37c9.tar.gz
openembedded-core-0a20caf0909f5429176e664a8992ebe2b9ad37c9.tar.bz2
openembedded-core-0a20caf0909f5429176e664a8992ebe2b9ad37c9.zip
Export ALL_PROXY for bitbake commands
We already export http,ftp,https proxy environment variables. Some environments, GNOME for instance, place the socks proxy in ALL_PROXY and all_proxy. Export it as well. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 65ac468797..c678e6185c 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -408,7 +408,10 @@ def runfetchcmd(cmd, d, quiet = False):
# rather than host provided
# Also include some other variables.
# FIXME: Should really include all export varaiables?
- exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'https_proxy', 'no_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
+ 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']
for var in exportvars:
val = data.getVar(var, d, True)