[bitbake-devel] [PATCH 3/3] fetch2: export LD_LIBRARY_PATH
Martin Jansa
martin.jansa at gmail.com
Fri Sep 16 07:38:23 UTC 2011
* in some cases git calls omits extra output like this
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
and because runfetchcmd redirects stderr to stdout it ends in output
which we're parsing ie in _contains_ref
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
lib/bb/fetch2/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index f6fa46c..8a8a636 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -385,7 +385,7 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
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']
+ 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME', 'LD_LIBRARY_PATH']
for var in exportvars:
val = bb.data.getVar(var, d, True)
--
1.7.6.1
More information about the bitbake-devel
mailing list