[oe-commits] Koen Kooi : linux-kexecboot: force initramfs support in Kconfig since it can't function without

GIT User account git at amethyst.openembedded.net
Sat Dec 13 18:46:56 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 71d21c5e379ab3f5d754a967a52240963552a71c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=71d21c5e379ab3f5d754a967a52240963552a71c

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Dec 13 19:42:23 2008 +0100

linux-kexecboot: force initramfs support in Kconfig since it can't function without

---

 packages/kexecboot/linux-kexecboot.inc |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/packages/kexecboot/linux-kexecboot.inc b/packages/kexecboot/linux-kexecboot.inc
index 93207e4..3f931f5 100644
--- a/packages/kexecboot/linux-kexecboot.inc
+++ b/packages/kexecboot/linux-kexecboot.inc
@@ -10,6 +10,7 @@ CMDLINE_poodle = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
 CMDLINE_akita = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
 CMDLINE_collie = "console=ttySA0,115200n8 console=tty1 mem=64M fbcon=rotate:1"
 CMDLINE_spitz = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
+CMDLINE_c7x0 = "console=tty0"
 
 PACKAGES = ""
 PROVIDES = ""
@@ -28,6 +29,14 @@ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"
 
 do_compile[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
 
+do_configure_append() {
+sed -i -e /CONFIG_BLK_DEV_INITRD/d -e /CONFIG_INITRAMFS_SOURCE/d ${S}/.config
+echo 'CONFIG_BLK_DEV_INITRD=y 
+CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"' >> ${S}/.config
+
+        yes '' | oe_runmake oldconfig
+}
+
 do_stage() {
 }
 





More information about the Openembedded-commits mailing list