Re: Linux-1.99 (pre2.0.x)

Christopher T. Johnson (cjohnson@netgsi.com)
Sat, 25 May 1996 19:23:39 -0400 (EDT)


> 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