summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRob Woolley <rob.woolley@windriver.com>2015-02-27 09:32:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:41:28 +0000
commit855fc21ae99899d54e286ee18ea56b2299694bf9 (patch)
tree45117ccded8b9183a12514b738c95f1228819fc1 /bitbake
parent0b5ab4d9873f21efead522284783e4be86a71c9f (diff)
downloadast2050-yocto-poky-855fc21ae99899d54e286ee18ea56b2299694bf9.zip
ast2050-yocto-poky-855fc21ae99899d54e286ee18ea56b2299694bf9.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 09a4e0c..df0b854 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -271,7 +271,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
server.terminateServer()
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))
conlogformat = bb.msg.BBLogFormatter(format_str)
consolelog = logging.FileHandler(consolelogfile)
OpenPOWER on IntegriCloud