xfs
[Top] [All Lists]

Re: Kernel naming conventions

To: John M Trostel <jtrostel@xxxxxxxxxxxxxx>
Subject: Re: Kernel naming conventions
From: George Georgalis <georgw@xxxxxxxxx>
Date: Wed, 20 Nov 2002 10:52:41 -0500
Cc: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>, torvalds@xxxxxxxxxxxxx
In-reply-to: <1037803490.1038.7.camel@localhost.localdomain>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Wed, Nov 20, 2002 at 09:44:50AM -0500, John M Trostel wrote:

>3. in the ../linux-2.4.20-1118-xfs/linux directory, modify 'Makefile' to
>produce the correct version string!
>
>       VERSION = 2
>       PATCHLEVEL = 4
>       SUBLEVEL = 20
>       EXTRAVERSION = -1118-xfs
>
>       KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>
>4. do your makes, configs, etc. as normal
>
>5. I then need to rename System.map to and appropraite extention, but
>../include/linux/version.h is appropriately modified already, and
>modules automagically are installed properly, etc.


YES, nothing like a little peer review to set the record straight!
linux/include/linux/version.h is NOT the file to modify... I hadn't done
that in a while and thought I found the right file after jogging my
memory with a less than adequate recursive grep...

sorry,
// George

the linux/README file IMHO should outline this here (as well as move
the paragraph up closer to the top of the README file):

 - Keep a backup kernel handy in case something goes wrong.  This is
   especially true for the development releases, since each new release
   contains new code which has not been debugged.  Make sure you keep a
   backup of the modules corresponding to that kernel, as well.  If you
   are installing a new kernel with the same version number as your
   working kernel, make a backup of your modules directory before you
   do a "make modules_install".




-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229       
Security Services, Web, Mail,            mailto:george@xxxxxxxxx
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george


<Prev in Thread] Current Thread [Next in Thread>