summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Martin <javier.martin@vista-silicon.com>2011-01-31 12:27:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 22:35:44 +0000
commitf1bbea4ab0c41cf93cd1a2d0d4d05a4ad06a0728 (patch)
tree7e0a845a9c1ffce2ee8db7aa4f8b822587402312
parentaacbe3f35eefd30be7f02ecc69bd141fd1d185ce (diff)
downloadopenembedded-core-f1bbea4ab0c41cf93cd1a2d0d4d05a4ad06a0728.tar.gz
openembedded-core-f1bbea4ab0c41cf93cd1a2d0d4d05a4ad06a0728.tar.bz2
openembedded-core-f1bbea4ab0c41cf93cd1a2d0d4d05a4ad06a0728.zip
Export KRB5CCNAME variable
This allows fetching git repositories using Kerberos authentication. (Bitbake rev: d761cf98284b02eb3d3a1f879782c501c284b698) Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch/__init__.py2
-rw-r--r--bitbake/lib/bb/utils.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 65b4da07da..2f92d87d96 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -442,7 +442,7 @@ def runfetchcmd(cmd, d, quiet = False):
exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST',
'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy',
'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy',
- 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
+ 'KRB5CCNAME', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
for var in exportvars:
val = data.getVar(var, d, True)
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 6373912d88..0b5aa0d5f7 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -516,6 +516,7 @@ def preserved_envvars_exported_interactive():
'GPG_AGENT_INFO',
'GTK_RC_FILES',
'SESSION_MANAGER',
+ 'KRB5CCNAME',
'SSH_AUTH_SOCK',
'XAUTHORITY',
'XDG_DATA_DIRS',