[lug] Kernel numbering

Zan Lynx zlynx at acm.org
Wed Feb 13 17:56:20 MST 2008


On Wed, 2008-02-13 at 17:35 -0700, Jeffrey Haemer wrote:
> Here's the command and the result:
> 
> $ uname -r
> 2.6.22-14-generic
> 
> 
> I understand the "2.6.22" but what's the "-14-generic" part?
> 
> (For example, if I use "git" to pull a source tree, I can find a tag
> for v2.6.22, but not for v2.6.22-14-generic)

That bit is set in the Makefile with the EXTRAVERSION variable.  There
is also a .config option to automatically use the kernel tree's current
GIT SHA hash.

Most distros put something in EXTRAVERSION to show the kernel type,
build number, etc.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20080214/a76c6115/attachment.pgp>


More information about the LUG mailing list