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

login
register
mail settings
Submitter Andrea Adami
Date May 5, 2013, 10:22 p.m.
Message ID <1367792540-25605-1-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/49339/
State Superseded, archived
Headers show

Comments

Andrea Adami - May 5, 2013, 10:22 p.m.
* 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@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(+)

Patch

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() {
     :
 }