Re: Kernel Compiling using "make rpm" question PLEASE!!

From: Samuel Flory (sflory@rackable.com)
Date: Sun Jul 06 2003 - 15:05:16 EST


imunity@softhome.net wrote:

>
> Still trying to figure out how to use "rpmbuild -bb"

  What you need for that is a rpm spec file. Grab a kernel.src.rpm from
a distribution. Install it, and cd to /us/src/redhat (other distros may
have a different name in /usr./src). Now the sources, and patches
should be in SOURCE, and the spec file in SPEC. Now you can modify/add
the source/patches, and the spec. To create rpms you run "rpm -bb <spec
file>". Of course to get the i686 rpms you want you need to add
"--target i686".

  Keep in mind this involves a lot of rpm spec file black magic. Also
most of time you will end up with at least 3 kernel rpms via this
method. You really don't want to do this unless you need to roll your
own custom releases of a distro for some reason.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:27 EST