summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-08-28 10:47:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-07 12:10:40 +0100
commitc8db2f66de19d9a814cf642d3f07b1dd542aab4f (patch)
tree891369e137e9c11efc310d77aad2701706660704 /bitbake/lib
parentda98eddd02118f4330d05a1262617ba84029a13a (diff)
downloadpoky-c8db2f66de19d9a814cf642d3f07b1dd542aab4f.tar.gz
bitbake: hob2: remove class hcc
Because class hcc is useless, remove it. (Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py2
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py2
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py1
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py29
4 files changed, 2 insertions, 32 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 5421fb6d12..522bd1d94a 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -34,7 +34,7 @@ from bb.ui.crumbs.recipeselectionpage import RecipeSelectionPage
34from bb.ui.crumbs.packageselectionpage import PackageSelectionPage 34from bb.ui.crumbs.packageselectionpage import PackageSelectionPage
35from bb.ui.crumbs.builddetailspage import BuildDetailsPage 35from bb.ui.crumbs.builddetailspage import BuildDetailsPage
36from bb.ui.crumbs.imagedetailspage import ImageDetailsPage 36from bb.ui.crumbs.imagedetailspage import ImageDetailsPage
37from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton, hcc 37from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton
38from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ 38from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \
39 AdvancedSettingDialog, LayerSelectionDialog, \ 39 AdvancedSettingDialog, LayerSelectionDialog, \
40 DeployImageDialog 40 DeployImageDialog
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py
index 6829927e1a..6b573a884e 100644
--- a/bitbake/lib/bb/ui/crumbs/hig.py
+++ b/bitbake/lib/bb/ui/crumbs/hig.py
@@ -30,7 +30,7 @@ import shlex
30import subprocess 30import subprocess
31import tempfile 31import tempfile
32from bb.ui.crumbs.hobcolor import HobColors 32from bb.ui.crumbs.hobcolor import HobColors
33from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker 33from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker
34from bb.ui.crumbs.progressbar import HobProgressBar 34from bb.ui.crumbs.progressbar import HobProgressBar
35import bb.ui.crumbs.utils 35import bb.ui.crumbs.utils
36import bb.process 36import bb.process
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 540dde0951..dac2f74d90 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -22,7 +22,6 @@
22import gobject 22import gobject
23import logging 23import logging
24from bb.ui.crumbs.runningbuild import RunningBuild 24from bb.ui.crumbs.runningbuild import RunningBuild
25from bb.ui.crumbs.hobwidget import hcc
26 25
27class HobHandler(gobject.GObject): 26class HobHandler(gobject.GObject):
28 27
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index d10c56b69d..7c23440630 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -63,35 +63,6 @@ class hic:
63 ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png')) 63 ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png'))
64 ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png')) 64 ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png'))
65 65
66class hcc:
67
68 SUPPORTED_IMAGE_TYPES = {
69 "jffs2" : ["jffs2"],
70 "sum.jffs2" : ["sum.jffs2"],
71 "cramfs" : ["cramfs"],
72 "ext2" : ["ext2"],
73 "ext2.gz" : ["ext2.gz"],
74 "ext2.bz2" : ["ext2.bz2"],
75 "ext3" : ["ext3"],
76 "ext3.gz" : ["ext3.gz"],
77 "ext2.lzma" : ["ext2.lzma"],
78 "btrfs" : ["btrfs"],
79 "live" : ["hddimg", "iso"],
80 "squashfs" : ["squashfs"],
81 "squashfs-lzma" : ["squashfs-lzma"],
82 "ubi" : ["ubi"],
83 "tar" : ["tar"],
84 "tar.gz" : ["tar.gz"],
85 "tar.bz2" : ["tar.bz2"],
86 "tar.xz" : ["tar.xz"],
87 "cpio" : ["cpio"],
88 "cpio.gz" : ["cpio.gz"],
89 "cpio.xz" : ["cpio.xz"],
90 "vmdk" : ["vmdk"],
91 "cpio.lzma" : ["cpio.lzma"],
92 "elf" : ["elf"],
93 }
94
95class HobViewTable (gtk.VBox): 66class HobViewTable (gtk.VBox):
96 """ 67 """
97 A VBox to contain the table for different recipe views and package view 68 A VBox to contain the table for different recipe views and package view