diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2020-01-11 03:56:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-13 13:12:23 +0000 |
commit | 5c935fb29c9293eb7b92828814b3e8500d8a1724 (patch) | |
tree | 736e5e0cfe00ba7e8a1a1e066b4b98a522ca2d63 /bitbake | |
parent | fc813841983a9df6f93bcb7481fcb5f82e9e5e9f (diff) | |
download | poky-5c935fb29c9293eb7b92828814b3e8500d8a1724.tar.gz |
bitbake: knotty: Hide the footer if a process progress bar is shown
With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown repeatedly
while the tasks are being executed. If the footer is not hidden then,
it will be moved up one line every time, creating a messy interface.
(Bitbake rev: 56b5ec4c2b3e658e73ca6c3a12feeb96df0977fb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index bd9911cf6f..ddcb214867 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -477,7 +477,8 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
477 | if event is None: | 477 | if event is None: |
478 | if main.shutdown > 1: | 478 | if main.shutdown > 1: |
479 | break | 479 | break |
480 | termfilter.updateFooter() | 480 | if not parseprogress: |
481 | termfilter.updateFooter() | ||
481 | event = eventHandler.waitEvent(0.25) | 482 | event = eventHandler.waitEvent(0.25) |
482 | if event is None: | 483 | if event is None: |
483 | continue | 484 | continue |
@@ -539,6 +540,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
539 | continue | 540 | continue |
540 | if event.total == 0: | 541 | if event.total == 0: |
541 | continue | 542 | continue |
543 | termfilter.clearFooter() | ||
542 | parseprogress = new_progress("Parsing recipes", event.total).start() | 544 | parseprogress = new_progress("Parsing recipes", event.total).start() |
543 | continue | 545 | continue |
544 | if isinstance(event, bb.event.ParseProgress): | 546 | if isinstance(event, bb.event.ParseProgress): |
@@ -638,6 +640,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
638 | if isinstance(event, bb.event.ProcessStarted): | 640 | if isinstance(event, bb.event.ProcessStarted): |
639 | if params.options.quiet > 1: | 641 | if params.options.quiet > 1: |
640 | continue | 642 | continue |
643 | termfilter.clearFooter() | ||
641 | parseprogress = new_progress(event.processname, event.total) | 644 | parseprogress = new_progress(event.processname, event.total) |
642 | parseprogress.start(False) | 645 | parseprogress.start(False) |
643 | continue | 646 | continue |