diff options
author | Robert Bragg <robert@linux.intel.com> | 2008-12-03 16:01:39 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2008-12-03 16:21:45 +0000 |
commit | c1a12b7d20c95391f8d56962fafb1f0bfe7d1918 (patch) | |
tree | 557099703f303042a5e7988734410a3e1a486cab /bitbake-dev/lib/bb/fetch/__init__.py | |
parent | a8b0e8a0342e4bc5bc05203793aaf56cfc445d2f (diff) | |
download | poky-c1a12b7d20c95391f8d56962fafb1f0bfe7d1918.tar.gz |
Adds username support to the git fetcher, and exports SSH_AGENT_PID + SSH_AUTH_SOCK
The SSH_AGENT_PID + SSH_AUTH_SOCK environment variables are needed if you
are using ssh-agent to hold passwords for your ssh keys.
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/__init__.py')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/__init__.py b/bitbake-dev/lib/bb/fetch/__init__.py index 9ca5556089..c9efe6beae 100644 --- a/bitbake-dev/lib/bb/fetch/__init__.py +++ b/bitbake-dev/lib/bb/fetch/__init__.py | |||
@@ -274,7 +274,7 @@ def runfetchcmd(cmd, d, quiet = False): | |||
274 | # rather than host provided | 274 | # rather than host provided |
275 | # Also include some other variables. | 275 | # Also include some other variables. |
276 | # FIXME: Should really include all export varaiables? | 276 | # FIXME: Should really include all export varaiables? |
277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy'] | 277 | exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID'] |
278 | 278 | ||
279 | for var in exportvars: | 279 | for var in exportvars: |
280 | val = data.getVar(var, d, True) | 280 | val = data.getVar(var, d, True) |