On Thu, Oct 11, 2001 at 01:27:02AM -0500, Jason L Tibbitts III wrote:
> I'd like to build RPMs of more recent kernels, but the kernel spec files
> have to be the most complicated of them all.  (Two thousand lines!)  Does
> anyone have a simplified spec file I can build from?  I need only a few
> configs (smp, up, enterprise, in 686 and athlon) and none of the more
> complicated multi-arch stuff.

Use rpm -ba --target=<TARG> to build for only one archetecture. Example:

        rpm -ba --target=i686-redhat-linux kernel-2.4.spec

To skip the smp, BOOT and enterprise kernels, change these
in the specfile:

        %define buildsmp 1
        %define buildBOOT 1
        %define buildenterprise 1

That should save a few hours :-)

-- 
Jan Carlson                                 janc at kubwa dot com



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to