Fedora Kernel Versioning

Jonathan Ryshpan jonrysh at pacbell.net
Thu Aug 27 21:42:14 UTC 2009


I'm building a new kernel, and am trying to follow the Fedora kernel
version rules, so far without success.  The new kernel differs from the
current kernel only in using PREEMPT instead of VOLUNTARY_PREEMPT.  I've
modified the Makefile so that
        EXTRAVERSION = .6-217.2.8.fc11-jon.x86_64
instead of
        EXTRAVERSION = .6-217.2.8.fc11.x86_64
After making these edits, I ran "$ make rpm".

The result is not what I had expected.  The start of the generated RPM
is at the end of this message.  As you can see, the name of the RPM is
wrong, since all of the dashes, "-", of EXTRAVERSION, have been stripped
from the name of the RPM, as thay also have been from some of the
elements of the RPM: the Version and the Source RPM, though not from
name of the actual kernel executable generated in /boot, etc.

Does anyone know what's going on?  How to fix it?

Thanks - jon

$ rpm -qilp kernel-2.6.29.6217.2.8.fc11jon.x86_64-1.x86_64.rpm
Name        : kernel                       Relocations: (not relocatable)
Version     : 2.6.29.6217.2.8.fc11jon.x86_64       Vendor: The Linux Community
Release     : 1                             Build Date: Thu Aug 27 11:06:51 2009
Install Date: (not installed)               Build Host: localhost
Group       : System Environment/Kernel     Source RPM: kernel-2.6.29.6217.2.8.fc11jon.x86_64-1.src.rpm
Size        : 973291878                        License: GPL
Signature   : (none)
URL         : http://www.kernel.org
Summary     : The Linux Kernel
Description :
The Linux Kernel, the operating system core itself
/boot/System.map-2.6.29.6-217.2.8.fc11-jon.x86_64
/boot/config-2.6.29.6-217.2.8.fc11-jon.x86_64
/boot/vmlinux-2.6.29.6-217.2.8.fc11-jon.x86_64.bz2
/boot/vmlinuz-2.6.29.6-217.2.8.fc11-jon.x86_64





More information about the users mailing list