summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 85066299d7..6f95f5b4ce 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -1025,10 +1025,12 @@ class Builder(gtk.Window):
1025 fraction = 0.9 1025 fraction = 0.9
1026 elif self.current_step == self.IMAGE_GENERATING: 1026 elif self.current_step == self.IMAGE_GENERATING:
1027 fraction = 1.0 1027 fraction = 1.0
1028 version = ""
1028 self.parameters.image_names = [] 1029 self.parameters.image_names = []
1029 selected_image = self.recipe_model.get_selected_image() 1030 selected_image = self.recipe_model.get_selected_image()
1030 if selected_image == self.recipe_model.__custom_image__: 1031 if selected_image == self.recipe_model.__custom_image__:
1031 version = self.recipe_model.get_custom_image_version() 1032 if self.configuration.initial_selected_image != selected_image:
1033 version = self.recipe_model.get_custom_image_version()
1032 linkname = 'hob-image' + version+ "-" + self.configuration.curr_mach 1034 linkname = 'hob-image' + version+ "-" + self.configuration.curr_mach
1033 else: 1035 else:
1034 linkname = selected_image + '-' + self.configuration.curr_mach 1036 linkname = selected_image + '-' + self.configuration.curr_mach