Kernel Rebuild Question

Ernie McCracken holycrap at cavtel.net
Wed Jan 5 16:55:34 UTC 2005


On Wed, Jan 05, 2005 at 11:40:58AM -0500, Alex Ackerman wrote:
>    This is probably so easy it's embarrassing to ask, but I'm trying to
>    rebuild the kernel using the source rpm. I need the i686 kernel, but not
>    the i686 smp kernel.  I'm currently using:
> 
>    $ rpmbuild --rebuild --target i686 kernel-2.6.x-x.x.src.rpm
> 
>    What am I missing? It's taking WAY too long to rebuild the kernel rpm
>    (~1.5 - 2 hours) when it build both. I have a Centrino 1.7GHz laptop with
>    1GB ram. Hopefully, by only building 1 of the kernel rpm packages I can
>    speed up the process.  Thanks for your help.

In the kernel-2.6.spec file, change the following line:

%define buildsmp 1

to

%define buildsmp 0





More information about the fedora-list mailing list