lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectupdated 'patch-kernel

comments?

I think there's no point to add support to automatic patching
of the extraversion kernels as the naming is so inconsistent.

another thing is the jump from 51 to 99 n the sublevel
from the 2.3.51 to 2.3.99-pre1

-----------------------------------------------------------------------
--- patch-kernel-backup Wed Mar 15 00:15:11 2000
+++ patch-kernel Wed Mar 15 00:38:43 2000
@@ -27,14 +27,22 @@
stopvers=${3-imnotaversion}

# set current VERSION, PATCHLEVEL, SUBLEVEL
-eval `sed -n 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' $sourcedir/Makefile`
+eval `head -4 $sourcedir/Makefile | sed -e 's/ //g'`
if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ]
then
echo "unable to determine current kernel version" >&2
exit 1
fi

-echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL"
+echo -n "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL"
+if [ -n "$EXTRAVERSION" ];
+then
+ echo "$EXTRAVERSION"
+ echo "unable to cope with 'extraversion' kernels" >&2
+ exit 1
+else
+ echo ""
+fi

while :
do
-----------------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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