Re: Configuring the Kernel

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

 



On Sat, 2005-03-26 at 22:56 -0600, David Hoffman wrote:

> If your question pertains to re-compiling the kernel so you can add or
> remove support for other options, or compile modules that can be
> dynamically loaded instead of statically loaded, then you can
> certainly find a HOWTO about compiling kernels at the Linux
> Documentation Project: www.tldp.org

With the caveat that if you want to recompile a Fedora kernel (with all
the extra patches they add to the vanilla kernel), you'll have to
install the kernel srpm and use that. Easiest would be to install the
srpm then 'rpmbuild -bp kernel-2.6.spec' then go to
<rpmbuilddir>/kernel-2.6.11/linux-2.6.11 and reconfig/rebuild from there
(following the directions from a HOWTO). This is the procedure suggested
in the Fedora Core 3 release notes.

IMO, it's better if you roll an actual rpm out of it. It'll take a
little longer, but when you're done, your modified kernel will be
tracked along with the rest of your software. If all you're doing is
reconfiguring, you can modify the appropriate config source file before
doing a full rpm rebuild (-ba), if you want to add patches you'll need
to modify the spec file. The spec file is written to automatically
append your username to the rpms that result so they don't conflict with
the default kernel rpm. 


-- 
Aaron Gaudio <prothonotar@xxxxxxxxxxxxxxxxxxxx>


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

  Powered by Linux