Skip to content
Browse files

lots of 3.0 changes needed to the scripts

  • Loading branch information...
1 parent 2910cf8 commit 0e26fa868ba89e80da0cb11b8a59d4254b832de6 @gregkh committed Aug 1, 2011
Showing with 9 additions and 9 deletions.
  1. +3 −4 stable/added-to-stable-version
  2. +3 −2 stable/apply_it
  3. +3 −3 stable/do_it_all
View
7 stable/added-to-stable-version
@@ -1,11 +1,10 @@
#!/bin/bash
-KERNEL_MINOR_VERSION=$1
+KERNEL=$1
shift
-echo "VERSION=$KERNEL_MINOR_VERSION"
+echo "VERSION=$KERNEL"
-#KERNEL_MINOR_VERSION='32'
-KERNEL="2.6.$KERNEL_MINOR_VERSION"
+#KERNEL="2.6.$KERNEL_MINOR_VERSION"
EMAIL_ADDRESS='<gregkh@suse.de>'
View
5 stable/apply_it
@@ -23,7 +23,7 @@ fi
apply_it ()
{
VERSION=$1
- DIR="linux-2.6.$VERSION.y"
+ DIR="linux-$VERSION.y"
# echo "DIR=$DIR"
echo -n "${txtrst}Applying $PATCH to $DIR "
@@ -41,7 +41,8 @@ apply_it ()
}
-apply_it 39
+apply_it 3.0
+apply_it 2.6.39
#apply_it 38
#apply_it 37
View
6 stable/do_it_all
@@ -6,13 +6,13 @@ if [ "$VERSION" == "" ] ; then
exit
fi
echo "VERSION=$VERSION"
-DIR="queue-2.6.$VERSION"
+DIR="queue-$VERSION"
mkdir ../tmp
-git ls-files -o | grep queue-2\.6\.$VERSION | xargs -i cp {} -v ../tmp/
+git ls-files -o | grep queue-$VERSION | xargs -i cp {} -v ../tmp/
git add $DIR
-git commit $DIR -m ".$VERSION patches"
+git commit $DIR -m "$VERSION patches"
for file in `ls ../tmp/`
do
../added-to-stable-version $VERSION ../tmp/$file

0 comments on commit 0e26fa8

Please sign in to comment.
Something went wrong with that request. Please try again.