From 2a75c6e487d0a0a85de8139fc4af35d26bdcf31b Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 29 May 2015 22:29:59 +0200 Subject: [PATCH] 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. --- testing/scripts/build-guestkernel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testing/scripts/build-guestkernel b/testing/scripts/build-guestkernel index f7f3cce61..0c38b7b98 100755 --- a/testing/scripts/build-guestkernel +++ b/testing/scripts/build-guestkernel @@ -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