Skip to contentSkip to conversation

hob/imagedetailspage: disable the deploy tool for qemu machines

PATCH New Constantin Musca 1 participant 1 message Oct 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hob/imagedetailspage: disable the deploy tool for qemu machines

- qemu images cannot be deployed to hardware, even if live images (hddimg and iso) files are created

[YOCTO #3196]

---
 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |    2 ++
 1 file changed, 2 insertions(+)
bitbake/lib/bb/ui/crumbs/imagedetailspage.py +2 -0
index a843ad4..79bca2e 100755
@@ -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):
Signature · 1 line
1.7.9.5