[CentOS] Getting and installing kernel source for 2.6.9-42.ELsmp

Wed Dec 6 18:24:32 UTC 2006
Philip R. Schaffner <Philip.R.Schaffner at nasa.gov>

On Wed, 2006-12-06 at 14:03 -0500, Charles E Campbell Jr wrote:
> Would you please tell me more?  While on the computer with Centos:
> 
> cd  /usr/src/redhat/SRPMS
> ls  (shows empty directory)

As it should be if you have not built any SRPMS locally.

> 
> Trying Redhat:
> 
> http://download.fedora.redhat.com/pub/fedora/linux/core
> has a "4" directory, not a 4.4 

You are confusing Fedora 4 with EL4.  The latest updated CentOS SRPMS
are at

http://mirror.centos.org/centos/4/updates/SRPMS/kernel-2.6.9-42.0.3.EL.src.rpm

The single digit release number, $releasever in yum configs, always
points to the current version - as of now 4.4.

The original 4.4 kernel is at

http://mirror.centos.org/centos/4.4/os/SRPMS/kernel-2.6.9-42.EL.src.rpm

Phil