diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-07-23 00:18:38 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:10:35 +0100 |
commit | 5f4559b2eb8cbf633ee2c923c0b5e23a24b1ec06 (patch) | |
tree | 71a6829037c9a66570c547a96f6e51a8c84c4de7 /bitbake | |
parent | 23a551bea12077f0e0320e19e7a587c409949511 (diff) | |
download | poky-5f4559b2eb8cbf633ee2c923c0b5e23a24b1ec06.tar.gz |
bitbake: knotty: don't display ETA for tasks with progress
It turns out that progress information we can extract from a task is
rarely apportioned closely enough to the time taken for the ETA to be
accurate, so showing it is going to be misleading most of the time for
anything but the most basic of examples. Let's just remove it and avoid
misleading (or worse, annoying) the user.
Fixes [YOCTO #9986].
(Bitbake rev: 235db4870b11db97250979e647b54cdb5ce4fbb6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index b92334b02d..1723a72a8d 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -245,7 +245,7 @@ class TerminalFilter(object): | |||
245 | pbar = BBProgress("0: %s (pid %s) " % (activetasks[t]["title"], t), 100, widgets=[progressbar.BouncingSlider(), ''], extrapos=2) | 245 | pbar = BBProgress("0: %s (pid %s) " % (activetasks[t]["title"], t), 100, widgets=[progressbar.BouncingSlider(), ''], extrapos=2) |
246 | pbar.bouncing = True | 246 | pbar.bouncing = True |
247 | else: | 247 | else: |
248 | pbar = BBProgress("0: %s (pid %s) " % (activetasks[t]["title"], t), 100) | 248 | pbar = BBProgress("0: %s (pid %s) " % (activetasks[t]["title"], t), 100, widgets=[progressbar.Percentage(), ' ', progressbar.Bar(), ''], extrapos=4) |
249 | pbar.bouncing = False | 249 | pbar.bouncing = False |
250 | activetasks[t]["progressbar"] = pbar | 250 | activetasks[t]["progressbar"] = pbar |
251 | tasks.append((pbar, progress, rate, start_time)) | 251 | tasks.append((pbar, progress, rate, start_time)) |