[oe-commits] Kang Kai : image_types.bbclass: add variable for Hob

git at git.openembedded.org git at git.openembedded.org
Fri Sep 7 13:57:40 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: fe0973df7c72b1acec7feae03a4e13c1f49c8b1f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fe0973df7c72b1acec7feae03a4e13c1f49c8b1f

Author: Kang Kai <kai.kang at windriver.com>
Date:   Tue Aug 28 10:47:21 2012 +0800

image_types.bbclass: add variable for Hob

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 <kai.kang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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"





More information about the Openembedded-commits mailing list