diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-10-23 13:34:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-10-23 13:34:24 +0100 |
commit | f0b1d561c7396f005a8308f32df24855181647fd (patch) | |
tree | 2895823501658e7c9bcb891287662dd367dc01b6 | |
parent | 0cc119f05f5daa378720f34db6b5e41546f4af06 (diff) | |
download | poky-f0b1d561c7396f005a8308f32df24855181647fd.tar.gz |
bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution
-rw-r--r-- | bitbake-dev/lib/bb/fetch/__init__.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 2 |
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 ab7a9bed92..db2ea6a230 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): | |||
274 | # rather than host provided | 274 | # rather than host provided |
275 | # Also include some other variables. | 275 | # Also include some other variables. |
276 | # FIXME: Should really include all export varaiables? | 276 | # FIXME: Should really include all export varaiables? |
277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND'] | 277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy'] |
278 | 278 | ||
279 | for var in exportvars: | 279 | for var in exportvars: |
280 | val = data.getVar(var, d, True) | 280 | val = data.getVar(var, d, True) |
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index ab7a9bed92..db2ea6a230 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): | |||
274 | # rather than host provided | 274 | # rather than host provided |
275 | # Also include some other variables. | 275 | # Also include some other variables. |
276 | # FIXME: Should really include all export varaiables? | 276 | # FIXME: Should really include all export varaiables? |
277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND'] | 277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy'] |
278 | 278 | ||
279 | for var in exportvars: | 279 | for var in exportvars: |
280 | val = data.getVar(var, d, True) | 280 | val = data.getVar(var, d, True) |