diff options
| -rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 9 | ||||
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index bd45016045..6b172d0aa9 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
| @@ -32,7 +32,7 @@ from bb.ui.crumbs.recipeselectionpage import RecipeSelectionPage | |||
| 32 | from bb.ui.crumbs.packageselectionpage import PackageSelectionPage | 32 | from bb.ui.crumbs.packageselectionpage import PackageSelectionPage |
| 33 | from bb.ui.crumbs.builddetailspage import BuildDetailsPage | 33 | from bb.ui.crumbs.builddetailspage import BuildDetailsPage |
| 34 | from bb.ui.crumbs.imagedetailspage import ImageDetailsPage | 34 | from bb.ui.crumbs.imagedetailspage import ImageDetailsPage |
| 35 | from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton | 35 | from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton, hcc |
| 36 | from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ | 36 | from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ |
| 37 | AdvancedSettingDialog, LayerSelectionDialog, \ | 37 | AdvancedSettingDialog, LayerSelectionDialog, \ |
| 38 | DeployImageDialog | 38 | DeployImageDialog |
| @@ -752,9 +752,10 @@ class Builder(gtk.Window): | |||
| 752 | else: | 752 | else: |
| 753 | linkname = selected_image + '-' + self.configuration.curr_mach | 753 | linkname = selected_image + '-' + self.configuration.curr_mach |
| 754 | for image_type in self.parameters.image_types: | 754 | for image_type in self.parameters.image_types: |
| 755 | linkpath = self.parameters.image_addr + '/' + linkname + '.' + image_type | 755 | for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: |
| 756 | if os.path.exists(linkpath): | 756 | linkpath = self.parameters.image_addr + '/' + linkname + '.' + real_image_type |
| 757 | self.parameters.image_names.append(os.readlink(linkpath)) | 757 | if os.path.exists(linkpath): |
| 758 | self.parameters.image_names.append(os.readlink(linkpath)) | ||
| 758 | elif self.current_step == self.PACKAGE_GENERATING: | 759 | elif self.current_step == self.PACKAGE_GENERATING: |
| 759 | fraction = 1.0 | 760 | fraction = 1.0 |
| 760 | self.build_details_page.update_progress_bar("Build Completed: ", fraction) | 761 | self.build_details_page.update_progress_bar("Build Completed: ", fraction) |
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 322efc698f..a85b478a87 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
| @@ -1107,7 +1107,7 @@ class ImageSelectionDialog (CrumbsDialog): | |||
| 1107 | for image_type in self.image_types: | 1107 | for image_type in self.image_types: |
| 1108 | for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: | 1108 | for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: |
| 1109 | if f.endswith('.' + real_image_type): | 1109 | if f.endswith('.' + real_image_type): |
| 1110 | imageset.add(f.rsplit('.' + real_image_type)[0]) | 1110 | imageset.add(f.rsplit('.' + real_image_type)[0].rsplit('.rootfs')[0]) |
| 1111 | self.image_list.append(f) | 1111 | self.image_list.append(f) |
| 1112 | 1112 | ||
| 1113 | for image in imageset: | 1113 | for image in imageset: |
