summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-03 12:39:11 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:46 +0000
commit7ea3c969386f10a37bd713326060e9bb4dbc1f1e (patch)
tree9634cb463bc45f270f86351894d6e31ca1e58d5a /bitbake/lib/bb
parent1e3b83f96bda9f48a105100a6639e91d086ba14d (diff)
downloadpoky-7ea3c969386f10a37bd713326060e9bb4dbc1f1e.tar.gz
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.py2
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):
1012 else: 1012 else:
1013 self.fromcache.append((filename, appends)) 1013 self.fromcache.append((filename, appends))
1014 self.toparse = self.total - len(self.fromcache) 1014 self.toparse = self.total - len(self.fromcache)
1015 self.progress_chunk = max(self.toparse, self.toparse / 100) 1015 self.progress_chunk = max(self.toparse / 100, 1)
1016 1016
1017 def worker(input, output, cfgdata): 1017 def worker(input, output, cfgdata):
1018 signal.signal(signal.SIGINT, signal.SIG_IGN) 1018 signal.signal(signal.SIGINT, signal.SIG_IGN)