From 07231022e20e3e15f2c851617626b52e8de0843c Mon Sep 17 00:00:00 2001 From: Marius Avram Date: Thu, 3 Apr 2014 15:15:59 +0300 Subject: bitbake: hob: fix customization of empty image recipe This fixes a problem which happened when you tried to build an image by selecting 'Start with an empty image recipe' from the Image configuration page of hob. The reason on of the bug was that the name of the resulting image was threated the same way as ordinary custom images, when in fact they should use the default name: "hob-image", because they do not derive from any other recipe. [YOCTO #6102] (Bitbake rev: fa4ea3b4b40e7e9e6767e0cd51c6701e0af07135) Signed-off-by: Marius Avram Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/builder.py') diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 9adb1f7ba3..3033e77444 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -739,7 +739,8 @@ class Builder(gtk.Window): def set_base_image(self): self.configuration.initial_selected_image = self.configuration.selected_image - self.hob_image = self.configuration.selected_image + "-edited" + if self.configuration.selected_image != self.recipe_model.__custom_image__: + self.hob_image = self.configuration.selected_image + "-edited" def reset(self): self.configuration.curr_mach = "" -- cgit v1.2.3-54-g00ecf