Re: Linux-2.1.125 ... pre-2.2 imminent

Matthias Urlichs (smurf@noris.de)
12 Oct 1998 12:09:07 +0200


In dist.linux.kernel, article <908096736.26188@noris.de>,
Matthias Andree <mandree@dosis.uni-dortmund.de> writes:
> >
> > So may I propose 2.1.190 ? (which gives us 10 versions before 200,
> > which we can silently pass if the need arises.)
>
> No good. It breaks many scripts which rely on the dense, monotonically
> increasing patch level. Check /usr/src/linux/scripts/patch-kernel for
> one which almost everybody has.
>
So fake them.

#!/bin/sh
seq 125 189 | while read a ; do

b=$(expr $a + 1)
cat <<EOF | bzip2 > v2.1/patch-2.1.$b.bz2
--- linux-2.1.$a/Makefile Mon Oct 12 00:00:00 1998
+++ linux-2.1.$b/Makefile Mon Oct 12 00:00:00 1998
@@ -3 +3 @@
-SUBLEVEL = $a
+SUBLEVEL = $b
EOF
cat <<EOF | gzip > v2.1/patch-2.1.$b.gz
--- linux-2.1.$a/Makefile Mon Oct 12 00:00:00 1998
+++ linux-2.1.$b/Makefile Mon Oct 12 00:00:00 1998
@@ -3 +3 @@
-SUBLEVEL = $a
+SUBLEVEL = $b
EOF

done

There. All scripts are now happy. ;-)

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661

- 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/