mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake: knotty: Do not log show_versions output
Every time the bitbake show versions command (bitbake -s) is run it creates a 100k log file. The consolelogfile is disabled for show environment and disabling show versions would make the behaviour match. (Bitbake rev: dee0ba94e39ea49c1e9261a5e8932356e3bb7c57) Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0b5ab4d987
commit
855fc21ae9
@@ -271,7 +271,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
|
|||||||
server.terminateServer()
|
server.terminateServer()
|
||||||
return
|
return
|
||||||
|
|
||||||
if consolelogfile and not params.options.show_environment:
|
if consolelogfile and not params.options.show_environment and not params.options.show_versions:
|
||||||
bb.utils.mkdirhier(os.path.dirname(consolelogfile))
|
bb.utils.mkdirhier(os.path.dirname(consolelogfile))
|
||||||
conlogformat = bb.msg.BBLogFormatter(format_str)
|
conlogformat = bb.msg.BBLogFormatter(format_str)
|
||||||
consolelog = logging.FileHandler(consolelogfile)
|
consolelog = logging.FileHandler(consolelogfile)
|
||||||
|
|||||||
Reference in New Issue
Block a user