This topic seems to be a perennial question. So I don't ruffle any feathers like in http://lists.centos.org/pipermail/centos-devel/2006-February/001400.html could someone point once and for all to an authoritative guide on a complete/proper/correct procedure on building and installing a custom kernel using the rpmbuild method rather than the traditional method.
T.I.A.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Mar 31, 2006 at 07:15:40AM -0800, Bogdan Nicolescu wrote:
This topic seems to be a perennial question. So I don't ruffle any feathers like in http://lists.centos.org/pipermail/centos-devel/2006-February/001400.html could someone point once and for all to an authoritative guide on a complete/proper/correct procedure on building and installing a custom kernel using the rpmbuild method rather than the traditional method.
<Half_Authoritative>
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 6) Rinse and repeat (#5 & #6), until it builds the way I want, removing already applied patches and changing the ones needed accordingly.
</Half_Authoritative>
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Rodrigo Barbosa wrote:
On Fri, Mar 31, 2006 at 07:15:40AM -0800, Bogdan Nicolescu wrote:
could someone point once and for all to an authoritative guide on a complete/proper/correct procedure on building and installing a custom kernel using the rpmbuild method rather than the traditional method.
The way I would do it:
- Get the src.rpm
- Install it
- Replace the kernel source tarball
- Change the version on the specfile
- Try to build
Wonder which of the ~700 patches referenced in the src.rpm is failing now.
- 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.
Regards,
Ralph
-----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:
- Get the src.rpm
- Install it
- Replace the kernel source tarball
- Change the version on the specfile
- Try to build
Wonder which of the ~700 patches referenced in the src.rpm is failing now.
- 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@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)