mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +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:
@@ -233,7 +233,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
|
|||||||
if logger.getEffectiveLevel() <= logging.DEBUG:
|
if logger.getEffectiveLevel() <= logging.DEBUG:
|
||||||
logfile = LogTee(logger, sys.stdout)
|
logfile = LogTee(logger, sys.stdout)
|
||||||
else:
|
else:
|
||||||
logfile = None
|
logfile = sys.stdout
|
||||||
|
|
||||||
try:
|
try:
|
||||||
bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL,
|
bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user