[CentOS] linux-2.6.18.tar.bz2 is missing

Tue Nov 30 21:00:32 UTC 2010
Morten P.D. Stevens <mstevens at imt-systems.com>

2010/11/30 Akemi Yagi <amyagi at gmail.com>:
> On Tue, Nov 30, 2010 at 12:12 PM, Pascal Robert <probert at macti.ca> wrote:
>
>>>>   [root at hylafax SPECS]# rpmbuild -ba --target x86_64 kernel-2.6.spec
>
> You are building as root. This is a bad practice. When building a
> CentOS custom kernel, please try following the instructions in:
>
> http://wiki.centos.org/HowTos/Custom_Kernel

I suggest to use mock for building CentOS/RHEL or fedora packages.

http://fedoraproject.org/wiki/Projects/Mock

For example:

mock -r epel-5-x86_64 --rebuild kernel.src.rpm

Best regards,

Morten