From 4845af09a48c64645bd4badd7bdf2b68de20ad5e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 11 May 2009 21:33:14 +0000 Subject: fetch/__init__.py: Set HOME environmental variable when running fetcher commands (from Poky) --- ChangeLog | 1 + lib/bb/fetch/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.2.3-korg