From patchwork Tue Aug 28 02:47:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,3/3] image_types.bbclass: add variable for Hob Date: Tue, 28 Aug 2012 02:47:21 -0000 From: Kang Kai X-Patchwork-Id: 35413 Message-Id: <79f157731c01cb12b134acc269bb576bd1e8985c.1346121294.git.kai.kang@windriver.com> To: Cc: bitbake-devel@lists.openembedded.org, Zhenfeng.Zhao@windriver.com Add a new variable "IMAGE_EXTENSION_live" for Hob to map image type "live" with real image file extension names. This is for Hob to remove the hard-coded maps. Signed-off-by: Kang Kai --- meta/classes/image_types.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index d286eea..6f8514f 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -247,3 +247,6 @@ RUNNABLE_IMAGE_TYPES ?= "ext2 ext3" RUNNABLE_MACHINE_PATTERNS ?= "qemu" DEPLOYABLE_IMAGE_TYPES ?= "hddimg iso" + +# Use IMAGE_EXTENSION_xxx to map image type 'xxx' with real image file extension name(s) for Hob +IMAGE_EXTENSION_live = "hddimg iso"