summaryrefslogtreecommitdiff
path: root/recipes/kexecboot
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-04-29 00:51:29 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-04-29 00:52:44 +0200
commit6422fe2b0a110c3a611c0e98cd96b489d4f11880 (patch)
tree45136e5e23f26693c4abaeb551362fa01954b4c7 /recipes/kexecboot
parent07e54135f7c6f9fad09cbbd5c5bb960f53d7587c (diff)
linux-kexecboot.inc: force CONFIG_KEXEC=y just in case
- no runtime changes, no PR BUMP
Diffstat (limited to 'recipes/kexecboot')
-rw-r--r--recipes/kexecboot/linux-kexecboot.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index 31b6377e62..fb3816b348 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -34,6 +34,7 @@ do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
do_configure_append() {
sed -i -e /CONFIG_BLK_DEV_INITRD/d \
+ -e /CONFIG_KEXEC/d \
-e /CONFIG_INITRAMFS_SOURCE/d \
-e /=m/d \
-e /CONFIG_MODULES/d \
@@ -46,7 +47,8 @@ sed -i -e /CONFIG_BLK_DEV_INITRD/d \
sed -i -e /CONFIG_CMDLINE/s/quiet/loglevel=3/1 ${S}/.config
sed -i -e /CONFIG_CMDLINE/s/debug/loglevel=3/1 ${S}/.config
-echo 'CONFIG_BLK_DEV_INITRD=y
+echo 'CONFIG_BLK_DEV_INITRD=y
+CONFIG_KEXEC=y
CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
CONFIG_MODULES=n' >> ${S}/.config