summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-11 21:33:14 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-11 21:33:14 +0000
commit4845af09a48c64645bd4badd7bdf2b68de20ad5e (patch)
treed427057bfb8d2e209789a4815ed1ab57f14cfee1
parent050e89b094d853b216ce03746dc55fbfa2fbf654 (diff)
downloadbitbake-4845af09a48c64645bd4badd7bdf2b68de20ad5e.tar.gz
fetch/__init__.py: Set HOME environmental variable when running fetcher commands (from Poky)
-rw-r--r--ChangeLog1
-rw-r--r--lib/bb/fetch/__init__.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b21d76189..731395182 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -79,6 +79,7 @@ Changes in BitBake 1.8.12:
- 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.10:
- Psyco is available only for x86 - do not use it on other architectures.
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py
index cdddcc948..16c3a961a 100644
--- a/lib/bb/fetch/__init__.py
+++ b/lib/bb/fetch/__init__.py
@@ -275,7 +275,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)