summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobwidget.py
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-02-29 22:15:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-01 15:51:31 +0000
commit53cc2c6cac6961babc283ed8efc34a591c43dbce (patch)
treed2149eab26b5025165f30e27d9c6e1755f85f820 /bitbake/lib/bb/ui/crumbs/hobwidget.py
parent73444fb68cae5e2ada44f370443a63bd9e30f4c0 (diff)
downloadpoky-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/hobwidget.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 664bf25560..9afbfdbe96 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -50,6 +50,33 @@ class hic:
50 ICON_INDI_CONFIRM_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/confirmation.png')) 50 ICON_INDI_CONFIRM_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/confirmation.png'))
51 ICON_INDI_ERROR_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/error.png')) 51 ICON_INDI_ERROR_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/error.png'))
52 52
53class hcc:
54
55 SUPPORTED_IMAGE_TYPES = {
56 "jffs2" : ["jffs2"],
57 "sum.jffs2" : ["sum.jffs2"],
58 "cramfs" : ["cramfs"],
59 "ext2" : ["ext2"],
60 "ext2.gz" : ["ext2.gz"],
61 "ext2.bz2" : ["ext2.bz2"],
62 "ext3" : ["ext3"],
63 "ext3.gz" : ["ext3.gz"],
64 "ext2.lzma" : ["ext2.lzma"],
65 "btrfs" : ["btrfs"],
66 "live" : ["hddimg", "iso"],
67 "squashfs" : ["squashfs"],
68 "squashfs-lzma" : ["squashfs-lzma"],
69 "ubi" : ["ubi"],
70 "tar" : ["tar"],
71 "tar.gz" : ["tar.gz"],
72 "tar.bz2" : ["tar.bz2"],
73 "tar.xz" : ["tar.xz"],
74 "cpio" : ["cpio"],
75 "cpio.gz" : ["cpio.gz"],
76 "cpio.xz" : ["cpio.xz"],
77 "cpio.lzma" : ["cpio.lzma"],
78 }
79
53class HobViewTable (gtk.VBox): 80class HobViewTable (gtk.VBox):
54 """ 81 """
55 A VBox to contain the table for different recipe views and package view 82 A VBox to contain the table for different recipe views and package view