[Lunar-commits] <moonbase> linux-2.6, linux-2.6-stable: Fixes the looping bug when upgrading a kernel
Stefan Wold
ratler at lunar-linux.org
Fri Feb 15 07:07:26 CET 2008
commit 5edfd4aaf34069f15f7168f7914d2c9a9d036897
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Fri Feb 15 07:07:26 2008 +0100
linux-2.6, linux-2.6-stable: Fixes the looping bug when upgrading a kernel
Instead of choosing "n" for every new option we use the sane default that
the kernel devs have suggested during an unattended kernel upgrade.
"yes n" caused make oldconfig to barf (loop) on number input instead of y/n.
By doing echo it will now choose the suggested default value.
---
kernel/linux-2.6-stable/BUILD | 4 ++--
kernel/linux-2.6/BUILD | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/linux-2.6-stable/BUILD b/kernel/linux-2.6-stable/BUILD
index 1c63335..3027699 100644
--- a/kernel/linux-2.6-stable/BUILD
+++ b/kernel/linux-2.6-stable/BUILD
@@ -24,7 +24,7 @@
# Needed for x86_64
MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
- yes n | make oldconfig
+ echo | make oldconfig
LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
rm -f arch/${MYARCH}/boot/bzImage
@@ -35,5 +35,5 @@
make modules_install &&
cp arch/${MYARCH}/boot/bzImage /boot/$VERSION &&
cp System.map /boot/System.map-$VERSION
-
+
) > $C_FIFO 2>&1
diff --git a/kernel/linux-2.6/BUILD b/kernel/linux-2.6/BUILD
index 1c63335..3027699 100644
--- a/kernel/linux-2.6/BUILD
+++ b/kernel/linux-2.6/BUILD
@@ -24,7 +24,7 @@
# Needed for x86_64
MYARCH="`arch | grep -qw i.86 && echo i386 || arch`"
- yes n | make oldconfig
+ echo | make oldconfig
LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
rm -f arch/${MYARCH}/boot/bzImage
@@ -35,5 +35,5 @@
make modules_install &&
cp arch/${MYARCH}/boot/bzImage /boot/$VERSION &&
cp System.map /boot/System.map-$VERSION
-
+
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list