From 7ea3c969386f10a37bd713326060e9bb4dbc1f1e Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 3 Dec 2010 12:39:11 -0500 Subject: Fix the <100 recipe progress fix (Bitbake rev: 424428a764651183218f9cc93bc05496867aa5de) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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) -- cgit v1.2.3-54-g00ecf