mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake: Don't export the GIT_PROXY_COMMAND in the fetcher code since it means selective proxying isn't possible
This commit is contained in:
@@ -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_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
|
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'http_proxy', 'ftp_proxy']
|
||||||
|
|
||||||
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_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
|
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'http_proxy', 'ftp_proxy']
|
||||||
|
|
||||||
for var in exportvars:
|
for var in exportvars:
|
||||||
val = data.getVar(var, d, True)
|
val = data.getVar(var, d, True)
|
||||||
|
|||||||
Reference in New Issue
Block a user