summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imagedetailspage.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/imagedetailspage.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index 268ac68b40..4b0e7498cd 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -333,13 +333,18 @@ class ImageDetailsPage (HobPage):
333 # self.kernel_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=change_kernel_button) 333 # self.kernel_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=change_kernel_button)
334 # self.box_group_area.pack_start(self.kernel_detail, expand=True, fill=True) 334 # self.box_group_area.pack_start(self.kernel_detail, expand=True, fill=True)
335 335
336 # Machine, Base image and Layers 336 # Machine, Image recipe and Layers
337 layer_num_limit = 15 337 layer_num_limit = 15
338 varlist = ["Machine: ", "Base image: ", "Layers: "] 338 varlist = ["Machine: ", "Image recipe: ", "Layers: "]
339 vallist = [] 339 vallist = []
340 self.setting_detail = None 340 self.setting_detail = None
341 if self.build_succeeded: 341 if self.build_succeeded:
342 vallist.append(machine) 342 vallist.append(machine)
343 if base_image == self.builder.recipe_model.__custom_image__:
344 if self.builder.configuration.initial_selected_image == self.builder.recipe_model.__custom_image__:
345 base_image ="New image recipe"
346 else:
347 base_image = self.builder.configuration.initial_selected_image + " (edited)"
343 vallist.append(base_image) 348 vallist.append(base_image)
344 i = 0 349 i = 0
345 for layer in layers: 350 for layer in layers:
@@ -359,7 +364,7 @@ class ImageDetailsPage (HobPage):
359 i += 1 364 i += 1
360 365
361 edit_config_button = HobAltButton("Edit configuration") 366 edit_config_button = HobAltButton("Edit configuration")
362 edit_config_button.set_tooltip_text("Edit machine, base image and recipes") 367 edit_config_button.set_tooltip_text("Edit machine and image recipe")
363 edit_config_button.connect("clicked", self.edit_config_button_clicked_cb) 368 edit_config_button.connect("clicked", self.edit_config_button_clicked_cb)
364 self.setting_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=edit_config_button) 369 self.setting_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=edit_config_button)
365 self.box_group_area.pack_start(self.setting_detail, expand=True, fill=True) 370 self.box_group_area.pack_start(self.setting_detail, expand=True, fill=True)