[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] uname ?



On Fri, 2004-03-05 at 11:52, Dawson, Alan wrote:
> > -----Original Message-----
> > From: Seb James [mailto:seb [at] hypercubesystems.co.uk]
> 
> > When you compile the kernel, you need to edit the file 
> > "Makefile" in the
> > base linux source directory. At the start is something like the
> > following:
> > 
> > VERSION = 2
> > PATCHLEVEL = 4
> > SUBLEVEL = 20
> > EXTRAVERSION = 
> > 
> > 
> > Simply add something like -my_kernel to EXTRAVERSION, recompile and
> > it'll come out in uname.
> > 
> Thats great thanks
> 
No problem at all. 

I should probably add, in case anyone reading this gets confused, that
you also of course have to _boot_ from the recompiled kernel before the
EXTRAVERSION string comes out when uname is called :)

> AED
> ___________________________________________________________________
> 
> Sheffield Linux User's Group -
> http://www.sheflug.co.uk/mailfaq.html
> 
>   GNU the choice of a complete generation.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.