<br><div><span class="gmail_quote">On 31 Jan 2006 22:49:26 -0500, <b class="gmail_sendername">Tim Writer</b> <<a href="mailto:tim-s/rLXaiAEBtBDgjK7y7TUQ@public.gmane.org">tim-s/rLXaiAEBtBDgjK7y7TUQ@public.gmane.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Yes, if you're going to use rpmbuild, the SRPM is the place to<br>start. However, as I said in my earlier reply, I don't recommend that<br>approach because building kernel RPMS (from an SRPM) is complicated. Even if<br>
you're expert at creating RPMS from scratch, it will probably take you<br>several days to modify and build a kernel RPM. It is _much_ easier to build<br>from the kernel source tree.</blockquote><div><br>
One thing I've noticed, is that Red Hat Enterprise Linux 4 (and Fedora)
no longer ship with a kernel source RPM with the source code in
it. If you want to get the kernel source, you have to get it out
of the kernel SRPM file. The way you go about installing it is
documented in the RELEASE-NOTES which are on CD1 of RHEL/Fedora.
Here's the Coles Notes version:<br>
<br>
1. Install kernel SRPM. The files get written (by default) to /usr/src/redhat, in the various subdirectories.<br>
2. Change to /usr/src/redhat/SPECS, and run 'rpmbuild -bp
--target=<arch> kernel.spec' (<arch> is your architecture,
i386, i686, etc.)<br>
3. The kernel source tree will be located in /usr/src/redhat/BUILD/.<br>
<br>
pm<br>
</div></div><br>-- <br>Paul Mora<br>email: <a href="mailto:paulmora@gmail.com">paulmora-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a><br>