[CentOS] wiki howto on custom kernel

Mon Mar 19 05:44:03 UTC 2007
Larry Vaden <vaden at texoma.net>

On 3/12/07, Alfred von Campe <alfred at 110.net> wrote:
> > Are they actual changes, or is the diff now simply off by a few lines?
> I went back and started the process of building a kernel from scratch
> on a different system.  This time I paid closer attention to what was
> going on.  After the "rpmbuild -bp --target=`uname -m`
> kernel-2.6.spec" step, the ~/rpmbuild/BUILD/kernel-2.6.9/linux-2.6.9
> directory contains among other things these two files:
>    -rw-r--r--  1 rpmbuild rpmbuild 50332 Mar 12 15:32 .config
>    -rw-r--r--  1 rpmbuild rpmbuild 61600 Mar 12 15:31 .config.old

I ran into much the same today using xconfig to build a RHEL-5
2.6.18-8.1.1.el5 kernel with a single change.  I ran a diff and IIRC
got about 50-60 lines of output.  I'm sort of under the impression you
can open the config with xconfig and save it and it will differ, but I
haven't tested that.