Only apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 20 May 2009 16:48:14 +0000 (16:48 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 20 May 2009 16:48:14 +0000 (16:48 +0000)
2.6.29 up to and including 2.6.29.3 since this patch is included in
2.6.29.4 and higher and also in 2.6.30 and higher.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@868 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/run-regression-tests

index b0d57c2..7e438c1 100755 (executable)
@@ -96,7 +96,8 @@ function extract_kernel_tree {
     fi
     cd ..
     mv "linux-${kver}" "../linux-$1" || return $?
-    if [ "${kver}" = "2.6.29" ]; then
+    if [ "$1" = "2.6.29" -o "$1" = "2.6.29.1" -o "$1" = "2.6.29.2" -o "$1" = "2.6.29.3" ]
+    then
       cd "../linux-$1" || return $?
       patch -f -s -p1 <<'EOF'
 Make sure that branch profiling does not trigger sparse warnings.