diff options
author | Shane Wang <shane.wang@intel.com> | 2012-02-29 22:15:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:31 +0000 |
commit | 53cc2c6cac6961babc283ed8efc34a591c43dbce (patch) | |
tree | d2149eab26b5025165f30e27d9c6e1755f85f820 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | 73444fb68cae5e2ada44f370443a63bd9e30f4c0 (diff) | |
download | poky-53cc2c6cac6961babc283ed8efc34a591c43dbce.tar.gz |
Hob: include hddimg and iso into image types.
For image types, so far we don't include hddimg and iso. Then those files can not be deployed because they are filtered out in the image selection dialog.
This patch is to include hddimg and iso (which are "live" in image types).
Again, we have a TODO in the code for the future, that is to retrieve image types from the bitbake server instead of to use the walkaround.
(Bitbake rev: d565507940be73fb5ea3ae7048d8d143c44c2a95)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index b071ad4503..2bf4ed84a1 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -22,6 +22,7 @@ | |||
22 | import gobject | 22 | import gobject |
23 | import logging | 23 | import logging |
24 | from bb.ui.crumbs.runningbuild import RunningBuild | 24 | from bb.ui.crumbs.runningbuild import RunningBuild |
25 | from bb.ui.crumbs.hobwidget import hcc | ||
25 | 26 | ||
26 | class HobHandler(gobject.GObject): | 27 | class HobHandler(gobject.GObject): |
27 | 28 | ||
@@ -450,10 +451,8 @@ class HobHandler(gobject.GObject): | |||
450 | params["incompat_license"] = self.server.runCommand(["getVariable", "INCOMPATIBLE_LICENSE"]) or "" | 451 | params["incompat_license"] = self.server.runCommand(["getVariable", "INCOMPATIBLE_LICENSE"]) or "" |
451 | params["sdk_machine"] = self.server.runCommand(["getVariable", "SDKMACHINE"]) or self.server.runCommand(["getVariable", "SDK_ARCH"]) or "" | 452 | params["sdk_machine"] = self.server.runCommand(["getVariable", "SDKMACHINE"]) or self.server.runCommand(["getVariable", "SDK_ARCH"]) or "" |
452 | 453 | ||
453 | #params["image_types"] = self.server.runCommand(["getVariable", "IMAGE_TYPES"]) or "" | ||
454 | params["image_fstypes"] = self.server.runCommand(["getVariable", "IMAGE_FSTYPES"]) or "" | 454 | params["image_fstypes"] = self.server.runCommand(["getVariable", "IMAGE_FSTYPES"]) or "" |
455 | """ | 455 | |
456 | A workaround | 456 | # walkaround |
457 | """ | 457 | params["image_types"] = " ".join(hcc.SUPPORTED_IMAGE_TYPES.keys()).lstrip(" ") |
458 | params["image_types"] = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma" | ||
459 | return params | 458 | return params |