diff options
author | Bob Foerster <rfoerster@layerzero.com> | 2010-11-22 10:13:56 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:51 +0000 |
commit | 2735a70ece44fa55282fb99e4f63c4ac269b07ac (patch) | |
tree | bca01db2dee721a0cfe8924f916d2ca16ba0a541 /bitbake/lib/bb/event.py | |
parent | 89a1b59d9a0c2ba7ec62dad41822dd7fdd831a81 (diff) | |
download | openembedded-core-2735a70ece44fa55282fb99e4f63c4ac269b07ac.tar.gz openembedded-core-2735a70ece44fa55282fb99e4f63c4ac269b07ac.tar.bz2 openembedded-core-2735a70ece44fa55282fb99e4f63c4ac269b07ac.zip |
Show the user progress when loading the cache
(Bitbake rev: bdd7813d8eecf7b6b636322e748ca6bf69118513)
Signed-off-by: Bob Foerster <robert@erafx.com>
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 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index c2bacc50c2..ad53ba015c 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py @@ -324,6 +324,25 @@ class ParseProgress(Event): def __init__(self, current): self.current = current +class CacheLoadStarted(Event): + """Loading of the dependency cache has begun""" + def __init__(self, total): + Event.__init__(self) + self.total = total + +class CacheLoadProgress(Event): + """Cache loading progress""" + def __init__(self, current): + Event.__init__(self) + self.current = current + +class CacheLoadCompleted(Event): + """Cache loading is complete""" + def __init__(self, total, num_entries): + Event.__init__(self) + self.total = total + self.num_entries = num_entries + class DepTreeGenerated(Event): """ Event when a dependency tree has been generated |