Hob: Fix the workaround to get image types

(Bitbake rev: c8d985ec971c3a18508f9c698cb2df2c1bf96e3a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dongxiao Xu 2012-03-23 15:45:34 +08:00 committed by Richard Purdie
parent 5098c964c2
commit f83586f1e6
1 changed files with 1 additions and 2 deletions

View File

@ -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 ""