[Linux-disciples] 2.6.7 kernel

Stephen R Laniel steve at laniels.org
Mon Jun 21 16:06:18 EDT 2004


On Sat, Jun 19, 2004 at 08:35:17AM -0400, Adam Kessel wrote:
> In my experience, it takes betweeen 1 and 3 weeks.
> 
> But you should just build your own, like other real men.

I'm just getting to this now. It's been a while since I've
rebuilt the kernel, and I was going to ask you guys whether
one could extract configuration information from a running
kernel, rather than having to keep the config info from the
kernel source laying around. Turns out that the IKCONFIG
does just that.

It also turns out that 'make xconfig' is much more
user-friendly than I remember it being. Neat neat neat.

/*
Kernel .config support (IKCONFIG)

This option enables the complete Linux kernel ".config" file
contents, information on compiler used to build the kernel,
kernel running when this kernel was built and kernel version
from Makefile to be saved in the kernel. It provides
documentation of which kernel options are used in a running
kernel or in an on-disk kernel. This information can be
extracted from the kernel image file with the script
scripts/extract-ikconfig and used as input to rebuild the
current kernel or to build another kernel. It can also be
extracted from a running kernel by reading /proc/config.gz
and /proc/config_built_with, if enabled (below).
/proc/config.gz will list the configuration that was used
to build the kernel and /proc/config_built_with will list
information on the compiler and host machine that was used
to build the kernel.
*/

-- 
``If all the Irish bar owners around the world decided to go
  to Cork on the same day, it would tip Europe into the sea,
  and dangle Moscow in the clouds.''
 -Ben Hammersley, http://shorl.com/fokidifageve



More information about the Linux-disciples mailing list