Re: [PATCH] read EXTRAVERSION from file

From: Frank Steiner (fsteiner-mail_at_bio.ifi.lmu.de)
Date: 08/31/04

  • Next message: Frank Steiner: "Re: K3b and 2.6.9?"
    Date:	Tue, 31 Aug 2004 08:20:04 +0200
    To: Sam Ravnborg <sam@ravnborg.org>
    
    

    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@gelato.unsw.edu.au> 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@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Frank Steiner: "Re: K3b and 2.6.9?"

    Relevant Pages

    • Re: [PATCH] read EXTRAVERSION from file
      ... > The're an very interesting patch in the Debian tree still from the time ... > in the toplevel kernel directory and the Makefile will set EXTRAVERSION ... That should be easy to extend to read the file localversion. ...
      (Linux-Kernel)
    • Re: [patch] remove the `. in EXTRAVERSION usage
      ... there came along the LOCALVERSION for people to add local ... > version in make menuconfig which was EXTRAVERSION originally for imho. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: How to retrieve version from kernel source (the right way)?
      ... > Then we started to grep VERSION, PATCHLEVEL, SUBLEVEL and EXTRAVERSION ... > from the kernel's Makefile. ... since some distributors seem to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [OT] linux.bkbits.net
      ... EXTRAVERSION = ... Or it is only me who finds this strange? ... When transition from 2.5 to 2.6 is planned? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.Stable and EXTRAVERSION
      ... > With the new stable series kernels, the .x versioning is being added to ... > I know several distributions are using EXTRAVERSION for build numbers, ... And don't even suggest tell Linus to start calling mainline releases ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)