summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-05 18:55:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-05 18:57:07 +0000
commit6ded4e0ae7f271512f580010c9ec10c4e4218f40 (patch)
tree2c2c589021c65b8b71f89bf0d88f50c0dd21b38f
parenta47c6415bdff42ebc8ddcae1acafa791f5029ef1 (diff)
downloadpoky-6ded4e0ae7f271512f580010c9ec10c4e4218f40.tar.gz
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>
-rw-r--r--bitbake/lib/bb/build.py2
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):
233 if logger.getEffectiveLevel() <= logging.DEBUG: 233 if logger.getEffectiveLevel() <= logging.DEBUG:
234 logfile = LogTee(logger, sys.stdout) 234 logfile = LogTee(logger, sys.stdout)
235 else: 235 else:
236 logfile = None 236 logfile = sys.stdout
237 237
238 try: 238 try:
239 bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL, 239 bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL,