From 055686251db034c8afcd82ec2508b8d829a87be9 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 10 Sep 2010 08:07:19 +0000 Subject: [PATCH] Disable CONFIG_DEBUG_STRICT_USER_COPY_CHECKS before starting a kernel build. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2085 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 56a219409..353b32249 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -332,7 +332,9 @@ function patch_and_configure_kernel { cd "${outputdir}/linux-$1" \ && patch -p1 -f -s <"${patchfile}" \ >"${outputdir}/patch-command-output-$1.txt" \ - && make -s allmodconfig &>/dev/null + && make -s allmodconfig &>/dev/null \ + && sed -i.tmp 's/^CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y$/CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=n/' .config \ + && make -s oldconfig ) }