diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-03 12:39:11 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:46 +0000 |
commit | 7ea3c969386f10a37bd713326060e9bb4dbc1f1e (patch) | |
tree | 9634cb463bc45f270f86351894d6e31ca1e58d5a /bitbake/lib/bb | |
parent | 1e3b83f96bda9f48a105100a6639e91d086ba14d (diff) | |
download | openembedded-core-7ea3c969386f10a37bd713326060e9bb4dbc1f1e.tar.gz openembedded-core-7ea3c969386f10a37bd713326060e9bb4dbc1f1e.tar.bz2 openembedded-core-7ea3c969386f10a37bd713326060e9bb4dbc1f1e.zip |
Fix the <100 recipe progress fix
(Bitbake rev: 424428a764651183218f9cc93bc05496867aa5de)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index ccbecc4482..18a22de711 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1012,7 +1012,7 @@ class CookerParser(object): else: self.fromcache.append((filename, appends)) self.toparse = self.total - len(self.fromcache) - self.progress_chunk = max(self.toparse, self.toparse / 100) + self.progress_chunk = max(self.toparse / 100, 1) def worker(input, output, cfgdata): signal.signal(signal.SIGINT, signal.SIG_IGN) |