diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 21:33:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 21:33:14 +0000 |
commit | 51e7a28a098a194e6cdf10532e6b1ac586669a0f (patch) | |
tree | f7b9f5a23bd0fb391662bec4ea7a155e9c355180 | |
parent | fdd4ccc42c19e9f5c069c83fd09f3bd15333cbb9 (diff) | |
download | bitbake-contrib-51e7a28a098a194e6cdf10532e6b1ac586669a0f.tar.gz |
fetch/__init__.py: Set HOME environmental variable when running fetcher commands (from Poky)
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/fetch/__init__.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -173,6 +173,7 @@ Changes in Bitbake 1.9.x: - Fix hg checkouts of specific revisions (from Poky) - Fix wget fetching of urls with parameters specified (from Poky) - Add username handling to git fetcher (from Poky) + - Set HOME environmental variable when running fetcher commands (from Poky) Changes in Bitbake 1.8.0: - Release 1.7.x as a stable series diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py index 6a931368d..df4eb961f 100644 --- a/lib/bb/fetch/__init__.py +++ b/lib/bb/fetch/__init__.py @@ -269,7 +269,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_CONFIG', 'http_proxy', 'ftp_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID'] + exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME'] for var in exportvars: val = data.getVar(var, d, True) |