bitbake: hob/imagedetailspage: disable the deploy tool for qemu machines
authorConstantin Musca <constantinx.musca@intel.com>
Wed, 3 Oct 2012 09:04:17 +0000 (12:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Oct 2012 16:30:19 +0000 (17:30 +0100)
- qemu images cannot be deployed to hardware, even if live
images (hddimg and iso) files are created

[YOCTO #3196]

(Bitbake rev: 001b1c439ffa450cb8728b0fa9469fed63ae9bed)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/imagedetailspage.py

index 03afc55..c47d67a 100755 (executable)
@@ -426,6 +426,8 @@ class ImageDetailsPage (HobPage):
         return mach_runnable
 
     def test_deployable(self, image_name):
+        if self.builder.configuration.curr_mach.startswith("qemu"):
+            return False
         deployable = False
         for t in self.builder.parameters.deployable_image_types:
             if image_name.endswith(t):