[oe] [meta-initramfs][PATCH] linux-yocto-tiny-kexecboot: do not use klibc for the initramfs on x86/x86-64

Andrea Adami andrea.adami at gmail.com
Sun May 5 22:22:20 UTC 2013


* The current recipe of kexec-tools fails building against klibc
* se we cannot use the klibc shrinked version of the kexecboot image.
*
* Default image will be re-enabled once kexec-tools-klibc will be fixed.

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bb | 4 ++++
 meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.4.bb | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bb b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bb
index d4798e8..50f741c 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bb
@@ -8,6 +8,10 @@ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}
 
 INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
 
+# on x86/x86-64 this initramfs cannot be built with klibc currently
+INITRAMFS_IMAGE_x86 = "initramfs-kexecboot-image"
+INITRAMFS_IMAGE_x86-64 = "initramfs-kexecboot-image"
+
 do_populate_sysroot() {
     :
 }
diff --git a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.4.bb b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.4.bb
index 189f87b..edc1247 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.4.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.4.bb
@@ -8,6 +8,10 @@ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}
 
 INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
 
+# on x86/x86-64 this initramfs cannot be built with klibc currently
+INITRAMFS_IMAGE_x86 = "initramfs-kexecboot-image"
+INITRAMFS_IMAGE_x86-64 = "initramfs-kexecboot-image"
+
 do_populate_sysroot() {
     :
 }
-- 
1.8.1.5





More information about the Openembedded-devel mailing list