summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/copy_buildsystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/copy_buildsystem.py')
-rw-r--r--meta/lib/oe/copy_buildsystem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index a372904183..dd506a39e6 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -239,6 +239,7 @@ def check_sstate_task_list(d, targets, filteroutfile, cmdprefix='', cwd=None, lo
239 cmd = "%sBB_SETSCENE_ENFORCE=1 PSEUDO_DISABLED=1 oe-check-sstate %s -s -o %s %s" % (cmdprefix, targets, filteroutfile, logparam) 239 cmd = "%sBB_SETSCENE_ENFORCE=1 PSEUDO_DISABLED=1 oe-check-sstate %s -s -o %s %s" % (cmdprefix, targets, filteroutfile, logparam)
240 env = dict(d.getVar('BB_ORIGENV', False)) 240 env = dict(d.getVar('BB_ORIGENV', False))
241 env.pop('BUILDDIR', '') 241 env.pop('BUILDDIR', '')
242 env.pop('BBPATH', '')
242 pathitems = env['PATH'].split(':') 243 pathitems = env['PATH'].split(':')
243 env['PATH'] = ':'.join([item for item in pathitems if not item.endswith('/bitbake/bin')]) 244 env['PATH'] = ':'.join([item for item in pathitems if not item.endswith('/bitbake/bin')])
244 bb.process.run(cmd, stderr=subprocess.STDOUT, env=env, cwd=cwd, executable='/bin/bash') 245 bb.process.run(cmd, stderr=subprocess.STDOUT, env=env, cwd=cwd, executable='/bin/bash')