summaryrefslogtreecommitdiffstats
path: root/recipes/kexecboot
diff options
context:
space:
mode:
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