[CentOS] Building a kernel without kabichk

Akemi Yagi amyagi at gmail.com
Tue Apr 14 01:01:27 UTC 2009


On Mon, Apr 13, 2009 at 3:53 PM, Terry Hull <tah at nrg-inc.com> wrote:
> I’m trying to build a 2.6.18-128.1.6.el5 kernel without kabichk.  I have
> downloaded the sources, installed the compiler, etc and ran the following
> command
>
> rpmbuild  -bb --target=`uname -m`  --without kabichk --with baseonly
> --without debug \
>     --without debuginfo kernel-2.6.spec.
>
> I had modified the .SPEC file according to the WIKI page
> http://wiki.centos.org/HowTos/Custom_Kernel
>
> I have NOT installed any patches that will break KABI,

If you know your custom kernel retains the kABI, I suggest you
entirely skip the section of the Wiki article that deals with the
kABI-related modifications.  No only this will reduce the chance of
making incorrect changes but also it is indeed a good idea to do kABI
checking.

If the build still fails, please post the last portion of the error
log (or e-mail the whole log file to me).

Akemi


More information about the CentOS mailing list