Re: How to build a Fedora Kernel?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reg Clemens wrote:
> Im sure there are directions somewhere, but I dont see them.
> How do you build a Fedora Kernel?

They hide them in the release notes. :)

http://fedora.redhat.com/docs/release-notes/fc6/en_US/sn-Kernel.html

> 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).

It's a feature that the source rpm starts with the pristine kernel
source and applies individual patches.  The patches don't take up that
much space, certainly not more space than the kernel source itself.
(Of course, I haven't actually checked that since I updated to FC6, so
if I'm wrong please correct me so I can eat my crow while it's still
warm. :)

> 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?

Yep, rpmbuild will take care of it for you.  See the section in the
release notes for the precise commands to run.

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The Internet treats censorship as a malfunction and routes around it.
    -- John Perry Barlow

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJFY7LzJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjNcsIAJw++wVESQDEngxMQ8ziZpA+zy4t32mdbU5l
ExKmXeGzW9qRA5SXWjh8RH4I+MbdoTvHzHFiCswUhhCL9dS020redg1SuFR9U7AV
qj74vXoNsRyvxw6OK1x3YjsBig+FR56W8g0tg53v9Zzz378Yv1/4XV2VWTx/9hlj
/Yc34YE0YDx3jcw5wNNstvZd3kX/RlkfsH8x3buRGU4wFy4uGddU7CPJVTXVp/dz
mas4GMC/lJ6Ut5JS88RMNYX9ti6xCmBeXYY5Orp1XI9SddMIf6kabFBnTyaJVaqf
gXohnWQcPyizCQUrDdbqf244Wlv0G44Mi0O37BbV855j6io6IxE=
=B+v2
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux