summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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/lib
parent0b5ab4d9873f21efead522284783e4be86a71c9f (diff)
downloadpoky-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/lib')
-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 09a4e0cdcc..df0b85416f 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):
271 server.terminateServer() 271 server.terminateServer()
272 return 272 return
273 273
274 if consolelogfile and not params.options.show_environment: 274 if consolelogfile and not params.options.show_environment and not params.options.show_versions:
275 bb.utils.mkdirhier(os.path.dirname(consolelogfile)) 275 bb.utils.mkdirhier(os.path.dirname(consolelogfile))
276 conlogformat = bb.msg.BBLogFormatter(format_str) 276 conlogformat = bb.msg.BBLogFormatter(format_str)
277 consolelog = logging.FileHandler(consolelogfile) 277 consolelog = logging.FileHandler(consolelogfile)