summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 3c3d303cf6..e5222da285 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -963,7 +963,10 @@ class Builder(gtk.Window):
963 else: 963 else:
964 self.image_configuration_page.stop_button.set_sensitive(True) 964 self.image_configuration_page.stop_button.set_sensitive(True)
965 965
966 self.image_configuration_page.update_progress_bar(message["title"], fraction) 966 if message["eventname"] == "TreeDataPreparationProgress":
967 self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
968 else:
969 self.image_configuration_page.update_progress_bar(message["title"], fraction)
967 970
968 def handler_parsing_cb(self, handler, message): 971 def handler_parsing_cb(self, handler, message):
969 if self.current_step != self.RCPPKGINFO_POPULATING: 972 if self.current_step != self.RCPPKGINFO_POPULATING:
@@ -974,7 +977,10 @@ class Builder(gtk.Window):
974 fraction = 0.6 + 0.38 * fraction 977 fraction = 0.6 + 0.38 * fraction
975 else: 978 else:
976 fraction = 0.6 * fraction 979 fraction = 0.6 * fraction
977 self.image_configuration_page.update_progress_bar(message["title"], fraction) 980 if message["eventname"] == "TreeDataPreparationProgress":
981 self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
982 else:
983 self.image_configuration_page.update_progress_bar(message["title"], fraction)
978 984
979 def handler_parsing_completed_cb(self, handler, message): 985 def handler_parsing_completed_cb(self, handler, message):
980 if self.current_step != self.RCPPKGINFO_POPULATING: 986 if self.current_step != self.RCPPKGINFO_POPULATING: