[oe] [meta-handheld] [PATCH 1/2] initramfs-kexecboot-* images: adapt to oe-core

Andrea Adami andrea.adami at gmail.com
Sun Jan 15 00:03:05 UTC 2012


* Set IMAGE_FEATURES = "" to prevent the setting of things
* like EXTRA_IMAGE_FEATURES in local.conf (from oe-core).
* Readd IMAGE_BASENAME like all other images are doing.

* Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 recipes-bsp/images/initramfs-kexecboot-image.bb    |    5 +++++
 .../images/initramfs-kexecboot-klibc-image.bb      |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/recipes-bsp/images/initramfs-kexecboot-image.bb b/recipes-bsp/images/initramfs-kexecboot-image.bb
index a1609d6..5321ed5 100644
--- a/recipes-bsp/images/initramfs-kexecboot-image.bb
+++ b/recipes-bsp/images/initramfs-kexecboot-image.bb
@@ -11,6 +11,11 @@ EXTRA_IMAGEDEPENDS = ""
 
 IMAGE_INSTALL = "kexecboot"
 
+# Do not pollute the initrd image with rootfs features
+IMAGE_FEATURES = ""
+
+export IMAGE_BASENAME = "initramfs-kexecboot-image"
+
 IMAGE_LINGUAS = ""
 IMAGE_LOGIN_MANAGER = ""
 IMAGE_INIT_MANAGER = ""
diff --git a/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb b/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
index d8e92ca..6c6de7a 100644
--- a/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
+++ b/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
@@ -1,3 +1,5 @@
 require initramfs-kexecboot-image.bb
 
 IMAGE_INSTALL = "kexecboot-klibc"
+
+export IMAGE_BASENAME = "initramfs-kexecboot-klibc-image"
-- 
1.7.3.4





More information about the Openembedded-devel mailing list