diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 44d626c261..141ee2c560 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -853,12 +853,20 @@ class Builder(gtk.Window): | |||
853 | message = "Build stopped: " | 853 | message = "Build stopped: " |
854 | fraction = self.build_details_page.progress_bar.get_fraction() | 854 | fraction = self.build_details_page.progress_bar.get_fraction() |
855 | else: | 855 | else: |
856 | fail_to_next_edit = "" | ||
856 | if self.current_step == self.FAST_IMAGE_GENERATING: | 857 | if self.current_step == self.FAST_IMAGE_GENERATING: |
858 | fail_to_next_edit = "image configuration" | ||
857 | fraction = 0.9 | 859 | fraction = 0.9 |
858 | elif self.current_step == self.IMAGE_GENERATING: | 860 | elif self.current_step == self.IMAGE_GENERATING: |
861 | if self.previous_step == self.FAST_IMAGE_GENERATING: | ||
862 | fail_to_next_edit = "image configuration" | ||
863 | else: | ||
864 | fail_to_next_edit = "packages" | ||
859 | fraction = 1.0 | 865 | fraction = 1.0 |
860 | elif self.current_step == self.PACKAGE_GENERATING: | 866 | elif self.current_step == self.PACKAGE_GENERATING: |
867 | fail_to_next_edit = "recipes" | ||
861 | fraction = 1.0 | 868 | fraction = 1.0 |
869 | self.build_details_page.show_fail_page(fail_to_next_edit.split(' ')[0], fail_to_next_edit) | ||
862 | status = "fail" | 870 | status = "fail" |
863 | message = "Build failed: " | 871 | message = "Build failed: " |
864 | self.build_details_page.update_progress_bar(message, fraction, status) | 872 | self.build_details_page.update_progress_bar(message, fraction, status) |