View Full Version : where to find linux- FC7 sources

31st July 2007, 04:14 PM
Where can I find sources for the exact kernel used on my FC7 distro?

From /boot, system appears to includes linux- and linux-2.6.22-33 kernels. I'd like to rebuild the version.

Does FC7 kernel use sources as is from kernel.org or are there modifications applied?

Thanks in advance.


31st July 2007, 06:13 PM
Fedora uses modified kernels.

You can enable the source repo for yum. /etc/yum.repos.d/fedora.repo and chnage enable=0 to enable =1 for the {fedora-source} section.

31st July 2007, 06:16 PM
Try here


1st August 2007, 10:43 PM
Many thanks. Is there a location where these are stored in gz or .bz format? Not a rpm expert (yet), what is the command to extract the contents from the rpm package to a target directory?

1st August 2007, 11:07 PM
Actually what I'm looking for are pointers on howto apply these patches to recreate the FC7 kernel.


1st August 2007, 11:49 PM
If you right click on the Srpm and look at it with the archive manager you will see lots of useful stuff including the tar.bz2 of the main kernel. You can extract it if you wish.

2nd August 2007, 12:19 AM
I install srpms ( it installs to the build directory ) with this command

rpm -i nameof.src.rpm

or just build the src.rpm

rpmbuild --rebuild nameof.src.rpm