RE: [SPAM] Re: Kernel Rebuild Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-
> bounces@xxxxxxxxxx] On Behalf Of Ernie McCracken
> Sent: Wednesday, January 05, 2005 11:56 AM
> To: fedora-list@xxxxxxxxxx
> Subject: [SPAM] Re: Kernel Rebuild Question
> 
> 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

Are you able to do it on the command line within the rpmbuild --rebuild
line? I'd need to automate the process and this would make things a lot
easier to deal with. I did see one example on the net where someone sent
a 'define' to the rebuild command for another rpm where they specified
the kernel version. Would a 'define' sent in on the command line
override a define in the spec file? For instance, if I typed:

rpmbuild --rebuild --target=i686 --define 'buildsmp 0'
kernel-2.6.x-x.y.src.rpm

Thanks for your help!


Alex


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux