xfs
[Top] [All Lists]

Re: Kernel naming conventions

To: George Georgalis <georgw@xxxxxxxxx>
Subject: Re: Kernel naming conventions
From: John M Trostel <jtrostel@xxxxxxxxxxxxxx>
Date: 20 Nov 2002 09:44:50 -0500
Cc: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021119204822.GC23678@xxxxxxxxxx>
Organization:
References: <20021119185620.VQCZ17861.imf07bis.bellsouth.net@TAZ2> <20021119204822.GC23678@xxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
I take pulls from CVS and modify them to differentiate between daily or
more frequent sources pretty simplely.

1. update my CVS pull, which lives in ../linux-2.4-xfs:
        $ cvs -z3 update -d -P

2. copy this source to a new directory
        $ cp -a linux-2.4-xfs linux-2.4.20-1118-xfs

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.

-- 
John M Trostel <jtrostel@xxxxxxxxxxxxxx>


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