1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

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>
This commit is contained in:
Chris Larson
2010-11-30 08:25:13 -07:00
committed by Richard Purdie
parent b890c19a33
commit b8aedaa6b5
3 changed files with 12 additions and 20 deletions
+1 -3
View File
@@ -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"""