summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-10-03 12:04:17 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 17:30:19 +0100
commit73182ed4ea6d6d8a42acc6c611a0744c27c6d5db (patch)
tree5d5f3ec1763315788c987717605d6dbe320d0521
parent9c7189d74c9bc49c6670a645e0afee8623a089b5 (diff)
downloadpoky-73182ed4ea6d6d8a42acc6c611a0744c27c6d5db.tar.gz
bitbake: 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 rev: 001b1c439ffa450cb8728b0fa9469fed63ae9bed) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/imagedetailspage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index 03afc553f3..c47d67a222 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -426,6 +426,8 @@ class ImageDetailsPage (HobPage):
426 return mach_runnable 426 return mach_runnable
427 427
428 def test_deployable(self, image_name): 428 def test_deployable(self, image_name):
429 if self.builder.configuration.curr_mach.startswith("qemu"):
430 return False
429 deployable = False 431 deployable = False
430 for t in self.builder.parameters.deployable_image_types: 432 for t in self.builder.parameters.deployable_image_types:
431 if image_name.endswith(t): 433 if image_name.endswith(t):