[CentOS] Request: Correct procedure on how to build a custom kernel on Centos

Sun Apr 2 15:03:01 UTC 2006
Rodrigo Barbosa <rodrigob at suespammers.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Apr 02, 2006 at 12:18:11PM +0200, Ralph Angenendt wrote:
> > The way I would do it:
> > 1) Get the src.rpm
> > 2) Install it
> > 3) Replace the kernel source tarball
> > 4) Change the version on the specfile
> > 5) Try to build
> 
> Wonder which of the ~700 patches referenced in the src.rpm is failing
> now.
> 
> > 6) Rinse and repeat (#5 & #6), until it builds the way I want,
> >    removing already applied patches and changing the ones needed
> >    accordingly.
> 
> I think without massive editing of the spec file rebuilding a different
> kernel version from the included src.rpm seems to be prone to failure.

Exactly.

That is why my usual answer for this kind of question is: don't do it.

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEL+elpdyWzQ5b5ckRAtv0AJ42pwcJNKA6TYaZ4Z3C7Pxc5826/gCgwRI8
/QsC8xXaDiCCE0nXtjxQlrQ=
=Itvm
-----END PGP SIGNATURE-----