Rebuilding Fedora Core 3 Kernel

Tommy Reynolds Tommy.Reynolds at MegaCoder.com
Wed Jan 12 06:27:35 UTC 2005


Uttered Fedora <fedora at emobilenetworks.com>, spake thus:

> I'm trying to rebuild the Fedora Core 3 Kernel from the source cds I got 
> off Redhat but I can't seem to build it correctly. Can anyone help me out?

# rpm -Uvh kernel*.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bp kernel*.spec
# cd /usr/src/redhat/BUILD/kernel*/linux*
# cp /lib/modules/$(uname -r)/build/.config .
# vi Makefile
  <!-- Here you change line #4 (EXTRACONFIG) to match the tail of 
       $(uname -r); you know, final dash and everything after it.
    -->
# make oldconfig
# make

Should do the trick.

HTH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050112/699de43a/attachment-0002.bin 


More information about the users mailing list