diff options
-rwxr-xr-x | scripts/oe-check-sstate | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/oe-check-sstate b/scripts/oe-check-sstate index f4cc5869de..7f9f835da4 100755 --- a/scripts/oe-check-sstate +++ b/scripts/oe-check-sstate | |||
@@ -18,7 +18,6 @@ import re | |||
18 | scripts_path = os.path.dirname(os.path.realpath(__file__)) | 18 | scripts_path = os.path.dirname(os.path.realpath(__file__)) |
19 | lib_path = scripts_path + '/lib' | 19 | lib_path = scripts_path + '/lib' |
20 | sys.path = sys.path + [lib_path] | 20 | sys.path = sys.path + [lib_path] |
21 | import scriptutils | ||
22 | import scriptpath | 21 | import scriptpath |
23 | scriptpath.add_bitbake_lib_path() | 22 | scriptpath.add_bitbake_lib_path() |
24 | import argparse_oe | 23 | import argparse_oe |
@@ -51,11 +50,8 @@ def check(args): | |||
51 | env['TMPDIR:forcevariable'] = tmpdir | 50 | env['TMPDIR:forcevariable'] = tmpdir |
52 | 51 | ||
53 | try: | 52 | try: |
54 | output = subprocess.check_output( | 53 | cmd = ['bitbake', '--dry-run'] + args.target |
55 | 'bitbake -n %s' % ' '.join(args.target), | 54 | output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, env=env) |
56 | stderr=subprocess.STDOUT, | ||
57 | env=env, | ||
58 | shell=True) | ||
59 | 55 | ||
60 | task_re = re.compile('NOTE: Running setscene task [0-9]+ of [0-9]+ \(([^)]+)\)') | 56 | task_re = re.compile('NOTE: Running setscene task [0-9]+ of [0-9]+ \(([^)]+)\)') |
61 | tasks = [] | 57 | tasks = [] |