bitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was...
authorCristiana Voicu <cristiana.voicu@intel.com>
Mon, 3 Sep 2012 11:22:04 +0000 (14:22 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Sep 2012 11:10:43 +0000 (12:10 +0100)
Now, "Your image is ready" icon doesn't appear when you come back on Imagedetails
page. It appears only after the image was generated.

[YOCTO #2984]

(Bitbake rev: de29bfc163471e4959483493a5e5b26f8a2cf8a0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/imagedetailspage.py

index c1a309d..1c4c597 100755 (executable)
@@ -183,7 +183,7 @@ class ImageDetailsPage (HobPage):
         self.pack_start(self.group_align, expand=True, fill=True)
 
         self.build_result = None
-        if self.build_succeeded:
+        if self.build_succeeded and self.builder.current_step == self.builder.IMAGE_GENERATING:
             # building is the previous step
             icon = gtk.Image()
             pixmap_path = hic.ICON_INDI_CONFIRM_FILE