Konstantin Svist wrote:
I'd like to compile my own kernel. I want to use the default Fedora
version as base but tweak a few flags.
There is a procedure which describes how to do this at
it's almost a year old.
Is it [still] the right way to do this?
Assumptions I'm making (please correct if I'm wrong):
* loading .config (following the steps on that page) loads the default
Fedora-specified options, not vanilla kernel options.
* modules will be built into a separate directory (with the word
"custom" in it) so they won't interfere with official Fedora kernel
modules. This is kind of important since I might specify some options
that will make my new kernel unbootable - and I want to use the
default as backup if that happens.
Two things not documented.
The standard config files have a header in them like this:
has this at the top:
After you get things in place, and run the (gconfig, xconfig, etc) that
line is stripped out.
To make additional rpmbuild runs, you need to copy the modified .config
back to the SOURCES directory as kernel-188.8.131.52-i686.config
and DON'T FORGET to put the header back in.
Those two steps do not appear in the docs.