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:
@@ -43,7 +43,10 @@ then
|
|||||||
fi
|
fi
|
||||||
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"
|
echo "Creating kernel configuration, you might get prompted for new parameters"
|
||||||
make oldconfig 2>&1 | tee -a $LOGFILE
|
make oldconfig 2>&1 | tee -a $LOGFILE
|
||||||
|
|||||||
Reference in New Issue
Block a user