From 7d32bfb6a4cfb524e88eb92dda808d7805e5b177 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 3 Apr 2013 14:39:29 +0400 Subject: [PATCH] kernel-rebuild: olddefconfig instead of silentoldconfig --- sbin/kernel-rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/kernel-rebuild.sh b/sbin/kernel-rebuild.sh index fe0fce8..5187f92 100755 --- a/sbin/kernel-rebuild.sh +++ b/sbin/kernel-rebuild.sh @@ -58,8 +58,8 @@ echo CONFIG_FILE=$CONFIG_FILE zcat $CONFIG_FILE >.config 2>/dev/null || cat $CONFIG_FILE >.config [ "$?" != "0" ] && echo "$CONFIG_FILE doesn't exist or /usr mounted as read-only" && exit -1 -yes "" | make silentoldconfig -[ "$?" != "0" ] && echo "======= yes \"\" | make silentoldconfig failed ;-( =======" && exit -1 +make olddefconfig +[ "$?" != "0" ] && echo "======= make olddefconfig failed ;-( =======" && exit -1 # aufs3 patches if [[ `qlist -IC sys-fs/aufs3 | wc -l` != 0 ]]; then