diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-30 08:25:13 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:45 +0000 |
commit | b8aedaa6b54eb81739c288b59a11e1df9f182ec5 (patch) | |
tree | c4b94e5cb4447cd08c5a790e06977ef4783a40cf /bitbake/lib/bb/event.py | |
parent | b890c19a3308ff88d8450a2811afd2b084f3aafe (diff) | |
download | poky-b8aedaa6b54eb81739c288b59a11e1df9f182ec5.tar.gz |
cooker: no cached in progressbar and add ETA
Rather than updating the progress bar based on the recipe being processed
(whether cached or parsed), consider only parsed recipes. This reduces the
instability in progress rate introduced by the cached entries, and allows the
ETA to be resurrected and be a bit more useful.
(Bitbake rev: 618480f7739f6ae846f67a57bee5a78efb37839d)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 5b0a183acd..009cbf93ba 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -298,11 +298,9 @@ class MultipleProviders(Event): | |||
298 | 298 | ||
299 | class ParseStarted(Event): | 299 | class ParseStarted(Event): |
300 | """Recipe parsing for the runqueue has begun""" | 300 | """Recipe parsing for the runqueue has begun""" |
301 | def __init__(self, total, skipped, masked): | 301 | def __init__(self, total): |
302 | Event.__init__(self) | 302 | Event.__init__(self) |
303 | self.total = total | 303 | self.total = total |
304 | self.skipped = skipped | ||
305 | self.masked = masked | ||
306 | 304 | ||
307 | class ParseCompleted(Event): | 305 | class ParseCompleted(Event): |
308 | """Recipe parsing for the runqueue has completed""" | 306 | """Recipe parsing for the runqueue has completed""" |