Re: [PATCH] read EXTRAVERSION from file

From: Frank Steiner
Date: Tue Aug 31 2004 - 01:21:20 EST


Sam Ravnborg wrote:

This would fail for 2.6.8.1 for instance. Or at least the '1' that Linus added would be part of the final EXTRAVERSION.

Ian Wienand <ianw@xxxxxxxxxxxxxxxxxx> posted a patch some time ago that
introduces LOCALVERSION - it's in my queue but not applied since it
needs some rework. And documentation also.
That should be easy to extend to read the file localversion.

Nice idea, because we indeed ran into the problem with 2.6.8.1 that our
own extraversion we always set in the kernel rpms overwrite the .1. So
we are now extracting the EXTRAVERSION from the Makefile to add our
own stuff. All very ugly since the extraversion is contained e.g. in the
path of the kernel source file, and thus, setting an own extraversion
makes all the path stuff difficult.
A LOCALVERSION that was always uninitialized in the kernel.org packages
would be a nice thing, so that EXTRAVERSION could be left untouched.

cu,
Frank

--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049

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