lkml.org 
[lkml]   [1996]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Linux-1.99 (pre2.0.x)
Date
> Ulrich Windl was heard saying ....
> >
> > It seems the pre2 patches are to indicate the "utimate code freeze".
> > Unfortunately the naming convention breaks the patch-kernel script!
> > Why not going on with 101?
> >
>
> Shhhh! Listen! Do you hear it? The sound of scripts breaking
> EVERYWHERE!

I found patch-kernel just a few days ago and love it, yes it did
break with pre2.0 but I think the following code might be useful.

I still had to install the patch-pre2.0.1.gz by hand, but no biggy.

--- linux-1.3.100/scripts/patch-kernel Tue Mar 26 14:22:14 1996
+++ linux/scripts/patch-kernel Sat May 25 13:55:48 1996
@@ -24,6 +24,12 @@
exit 1
fi

+if [ $PATCHLEVEL -eq 99 ]
+then
+ PATCHLEVEL=0
+ VERSION=`expr $VERSION + 1`
+ VERSION=pre"$VERSION"
+fi
echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL"

while :
@@ -49,5 +55,6 @@
break
fi
# Remove backup files
+exit
find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
done

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.052 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site