[CentOS] how can I get the kernel source codes of CentOS5.2

Mon Aug 25 18:01:48 UTC 2008
Mihai T. Lazarescu <mtlagm at gmail.com>

On Mon, Aug 25, 2008 at 08:14:19PM +0800, Ian jonhson wrote:

> My jobs need to recompile the kernel codes, but I don't know
> how to yum the kernel source codes.

This should download the .src RPM in the current dir:

    yumdownloader --source kernel

yum-utils should be installed first.