testing: Do not overwrite kernel configuration if it already exists

This allows us to do changes to the kernel configuration using menuconfig
and friends, and update the kernel with make-testing.
This commit is contained in:
Martin Willi
2015-07-12 13:54:08 +02:00
parent a4a13d0be2
commit 2a75c6e487
+4 -1
View File
@@ -43,7 +43,10 @@ then
fi
fi
execute "cp $KERNELCONFIG .config" 0
if [ ! -f .config ]
then
execute "cp $KERNELCONFIG .config" 0
fi
echo "Creating kernel configuration, you might get prompted for new parameters"
make oldconfig 2>&1 | tee -a $LOGFILE