diff options
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index a71c16ab14..024261410e 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -174,11 +174,8 @@ def runCmd(command, ignore_status=False, timeout=None, assert_error=True, sync=T | |||
174 | if native_sysroot: | 174 | if native_sysroot: |
175 | extra_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ | 175 | extra_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ |
176 | (native_sysroot, native_sysroot, native_sysroot) | 176 | (native_sysroot, native_sysroot, native_sysroot) |
177 | extra_libpaths = "%s/lib:%s/usr/lib" % \ | ||
178 | (native_sysroot, native_sysroot) | ||
179 | nenv = dict(options.get('env', os.environ)) | 177 | nenv = dict(options.get('env', os.environ)) |
180 | nenv['PATH'] = extra_paths + ':' + nenv.get('PATH', '') | 178 | nenv['PATH'] = extra_paths + ':' + nenv.get('PATH', '') |
181 | nenv['LD_LIBRARY_PATH'] = extra_libpaths + ':' + nenv.get('LD_LIBRARY_PATH', '') | ||
182 | options['env'] = nenv | 179 | options['env'] = nenv |
183 | 180 | ||
184 | cmd = Command(command, timeout=timeout, output_log=output_log, **options) | 181 | cmd = Command(command, timeout=timeout, output_log=output_log, **options) |