summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/utils/commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 03658928e1..dc1e286dac 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -172,8 +172,11 @@ def runCmd(command, ignore_status=False, timeout=None, assert_error=True,
172 if native_sysroot: 172 if native_sysroot:
173 extra_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ 173 extra_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \
174 (native_sysroot, native_sysroot, native_sysroot) 174 (native_sysroot, native_sysroot, native_sysroot)
175 extra_libpaths = "%s/lib:%s/usr/lib" % \
176 (native_sysroot, native_sysroot)
175 nenv = dict(options.get('env', os.environ)) 177 nenv = dict(options.get('env', os.environ))
176 nenv['PATH'] = extra_paths + ':' + nenv.get('PATH', '') 178 nenv['PATH'] = extra_paths + ':' + nenv.get('PATH', '')
179 nenv['LD_LIBRARY_PATH'] = extra_libpaths + ':' + nenv.get('LD_LIBRARY_PATH', '')
177 options['env'] = nenv 180 options['env'] = nenv
178 181
179 cmd = Command(command, timeout=timeout, output_log=output_log, **options) 182 cmd = Command(command, timeout=timeout, output_log=output_log, **options)