From 51e7a28a098a194e6cdf10532e6b1ac586669a0f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 11 May 2009 21:33:14 +0000 Subject: [PATCH] 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 4dd6a1b3ee9..ca83a956501 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 6a931368dc1..df4eb961f15 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) -- 2.47.3