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

login
register
mail settings
Submitter Constantin Musca
Date Oct. 3, 2012, 9:04 a.m.
Message ID <1349255057-29737-1-git-send-email-constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/37665/
State New
Headers show

Comments

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

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):