From patchwork Sat Mar 24 11:49:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,5/9] Hob: Fix the workaround to get image types Date: Sat, 24 Mar 2012 11:49:23 -0000 From: Dongxiao Xu X-Patchwork-Id: 24477 Message-Id: To: bitbake-devel@lists.openembedded.org Signed-off-by: Dongxiao Xu --- lib/bb/ui/crumbs/hobeventhandler.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/bb/ui/crumbs/hobeventhandler.py b/lib/bb/ui/crumbs/hobeventhandler.py index 308ef4d..ec3e0ef 100644 --- a/lib/bb/ui/crumbs/hobeventhandler.py +++ b/lib/bb/ui/crumbs/hobeventhandler.py @@ -430,8 +430,7 @@ class HobHandler(gobject.GObject): params["image_fstypes"] = self.server.runCommand(["getVariable", "IMAGE_FSTYPES"]) or "" - # walkaround - params["image_types"] = " ".join(hcc.SUPPORTED_IMAGE_TYPES.keys()).lstrip(" ") + params["image_types"] = self.server.runCommand(["getVariable", "IMAGE_TYPES"]) or "" params["conf_version"] = self.server.runCommand(["getVariable", "CONF_VERSION"]) or "" params["lconf_version"] = self.server.runCommand(["getVariable", "LCONF_VERSION"]) or ""