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 | openembedded-core-b8aedaa6b54eb81739c288b59a11e1df9f182ec5.tar.gz openembedded-core-b8aedaa6b54eb81739c288b59a11e1df9f182ec5.tar.bz2 openembedded-core-b8aedaa6b54eb81739c288b59a11e1df9f182ec5.zip | |
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): class ParseStarted(Event): """Recipe parsing for the runqueue has begun""" - def __init__(self, total, skipped, masked): + def __init__(self, total): Event.__init__(self) self.total = total - self.skipped = skipped - self.masked = masked class ParseCompleted(Event): """Recipe parsing for the runqueue has completed""" |
