Re: rebuilding kernel RPMs

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

 



On Sun, Mar 14, 2004 at 11:46:50AM +0200, Sherman, Yuval wrote:

> The patch file seems to be applied correctly. However, the only RPMs
> that were created are (all under the i386 dir):
> 
> *	Kernel-doc
> *	Kernel-BOOT
> *	Kernel-source
> 
> How can I build RPMs for i586 and i686 as well? I also want to build
> different kinds of kernels (bigmem, smp, etc.) for each architecture,
> how should I do that?

  rpmbuild -ba --target i586 kernel-2.4.spec
  rpmbuild -ba --target i686 kernel-2.4.spec

Or (better) you can use the src.rpm created with the standard (i386)
build and do:

  rpmbuild --rebuild --target i586 path-kernel-src-rpm
  rpmbuild --rebuild --target i686 path-kernel-src-rpm

The bigmem, smp etc. kernels will be build automatically for the
appropriate architectures (see corresponding rpm macros in the
kernel spec file).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux