kernel building, rebuild a src.rpm from fedora on CentOS

Place to discuss Fedora and/or Red Hat

kernel building, rebuild a src.rpm from fedora on CentOS

Postby gandalf » Sun Apr 03, 2005 2:37 pm

hi

just wandering..

install an kernel-2.6.10-1.770.fc3.src.rpm or wahtever on an CentOS-box, and rebuild the kernel. Is that possible???
Do i have to alter the spec-file?

i want to upgrade myself to the (allmost)latest kernel, running an CentOS-machine.

thanks

Evert
gandalf
n00b
n00b
 
Posts: 1
Joined: Sun Apr 03, 2005 2:28 pm

Postby Void Main » Sun Apr 03, 2005 6:14 pm

I am not familiar with CentOS. It looks like apt is available for it:

http://centos.cs.ucr.edu/centos/centos/4.0/

But browsing through the directories it would appear the latest kernel built for that OS is 2.6.9-xx. I don't personally like to compile kernels and just let the distribution maintainers do it. Then I just "apt-get install kernel". Can you not use the binary RPM or do you just want to try and compile it for the exercise? I don't know how compatible the Red Hat version of the kernel is with CentOS but you can certainly try it. If you just want to compile a kernel then go for it, or download the latest stock kernel from www.kernel.org and compile that. Here is my kernel build document:

http://voidmain.is-a-geek.net/redhat/fe ... build.html

Of course as you can see it's from a Red Hat perspective. If it works great, if not I probably can't be of much more help.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 3 guests

cron