summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-10-23 13:34:24 +0100
committerRichard Purdie <rpurdie@rpsys.net>2008-10-23 13:34:24 +0100
commitf0b1d561c7396f005a8308f32df24855181647fd (patch)
tree2895823501658e7c9bcb891287662dd367dc01b6
parent0cc119f05f5daa378720f34db6b5e41546f4af06 (diff)
downloadopenembedded-core-f0b1d561c7396f005a8308f32df24855181647fd.tar.gz
openembedded-core-f0b1d561c7396f005a8308f32df24855181647fd.tar.bz2
openembedded-core-f0b1d561c7396f005a8308f32df24855181647fd.tar.xz
openembedded-core-f0b1d561c7396f005a8308f32df24855181647fd.zip
bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution
-rw-r--r--bitbake-dev/lib/bb/fetch/__init__.py2
-rw-r--r--bitbake/lib/bb/fetch/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/fetch/__init__.py b/bitbake-dev/lib/bb/fetch/__init__.py
index ab7a9bed9..db2ea6a23 100644
--- a/bitbake-dev/lib/bb/fetch/__init__.py
+++ b/bitbake-dev/lib/bb/fetch/__init__.py
@@ -274,7 +274,7 @@ 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_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND']
+ exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
for var in exportvars:
val = data.getVar(var, d, True)
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index ab7a9bed9..db2ea6a23 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -274,7 +274,7 @@ 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_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND']
+ exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
for var in exportvars:
val = data.getVar(var, d, True)