diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-05 18:55:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-05 18:57:07 +0000 |
commit | 6ded4e0ae7f271512f580010c9ec10c4e4218f40 (patch) | |
tree | 2c2c589021c65b8b71f89bf0d88f50c0dd21b38f /bitbake/lib | |
parent | a47c6415bdff42ebc8ddcae1acafa791f5029ef1 (diff) | |
download | openembedded-core-6ded4e0ae7f271512f580010c9ec10c4e4218f40.tar.gz openembedded-core-6ded4e0ae7f271512f580010c9ec10c4e4218f40.tar.bz2 openembedded-core-6ded4e0ae7f271512f580010c9ec10c4e4218f40.zip |
bitbake: build.py: Logging of None was losing the logs so force this to stdout so we can see function execution failures
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 129150a760..96e4e2f077 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -233,7 +233,7 @@ def exec_func_shell(function, d, runfile, cwd=None): if logger.getEffectiveLevel() <= logging.DEBUG: logfile = LogTee(logger, sys.stdout) else: - logfile = None + logfile = sys.stdout try: bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL, |