mirror of
https://git.yoctoproject.org/poky
synced 2026-10-16 05:17:02 +00:00
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>
This commit is contained in:
1 parent
a47c6415bd
commit
6ded4e0ae7
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user