mirror of
git://git.yoctoproject.org/poky
synced 2026-09-28 19:15:46 +00:00
bitbake: fetch/init: Add 'HOME' to list of variables exported when runnig fetcher commands
This commit is contained in:
parent
294a1ee38a
commit
bb98685a71
@ -274,7 +274,7 @@ def runfetchcmd(cmd, d, quiet = False):
|
|||||||
# rather than host provided
|
# rather than host provided
|
||||||
# Also include some other variables.
|
# Also include some other variables.
|
||||||
# FIXME: Should really include all export varaiables?
|
# 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:
|
for var in exportvars:
|
||||||
val = data.getVar(var, d, True)
|
val = data.getVar(var, d, True)
|
||||||
|
|||||||
@ -274,7 +274,7 @@ def runfetchcmd(cmd, d, quiet = False):
|
|||||||
# rather than host provided
|
# rather than host provided
|
||||||
# Also include some other variables.
|
# Also include some other variables.
|
||||||
# FIXME: Should really include all export varaiables?
|
# 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:
|
for var in exportvars:
|
||||||
val = data.getVar(var, d, True)
|
val = data.getVar(var, d, True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user