[bitbake-devel] hob/imagedetailspage: disable the deploy tool for qemu machines

Submitted by Constantin Musca on Oct. 3, 2012, 9:04 a.m.

Details

Message ID 1349255057-29737-1-git-send-email-constantinx.musca@intel.com
State New
Headers show

Commit Message

Constantin Musca Oct. 3, 2012, 9:04 a.m.
- qemu images cannot be deployed to hardware, even if live
images (hddimg and iso) files are created

[YOCTO #3196]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |    2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index a843ad4..79bca2e 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -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):