How to build a Fedora Kernel?
Timothy Murphy
tim at birdsnest.maths.tcd.ie
Thu Nov 23 00:35:47 UTC 2006
Reg Clemens wrote:
> Im sure there are directions somewhere, but I dont see them.
> How do you build a Fedora Kernel?
>
> I see out in the SRPMS a file kernel-2.6.18-1.2849.fc6.src.rpm
> which appears to contain the patches to go from 1.6.18 to
> kernel-2.6.18-1.2849.fc6 (one has to note that this file of
> patches is LARGER than the file that would be there if they
> just gave us the patched kernel).
>
> In any case just trying to use a for loop to apply the patches fails
> (as I assumed it would) since there must be some order necessary
> in applying these things.
>
> So how do you do it?
> Is there a script somewhere that applies them in the correct order?
Very basically, having installed the RPM file,
$ cd /usr/src/redhat/SOURCES/
$ rpmbuild -ba ../SPECS/kernel-2.6.spec
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the fedora-list
mailing list