From: Chris Larson Date: Fri, 3 Dec 2010 17:39:11 +0000 (-0500) Subject: Fix the <100 recipe progress fix X-Git-Tag: 2011-1~3096 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7ea3c969386f10a37bd713326060e9bb4dbc1f1e;p=openembedded-core.git Fix the <100 recipe progress fix (Bitbake rev: 424428a764651183218f9cc93bc05496867aa5de) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- 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)