Hi,

I have been working since yesterday on building a customized kernel for
a new Dual-PII 400 server.

The default kernel in Mandrake 6.0 is 2.2.9-17 ( i think), while there is
a later version 2.2.9-27.

My problem is i need to build a more customized version of the kernel, but
at the same time keep the patches integrated by Chmouel, Bero and others.
I thought of rebuilding the RPM and manually editing the spec file but its
one of the most complex spec files I have ever seen :) (although XFree86
spec files might be more complex).

Any idea which file i should edit in the SOURCES directory to enable or
disable various kernel features ? (need PII support, SMP, SCSI, no sound,
etc.) ?

One way i thought of doing so would be
1. Use rpm -bp to unpack the sources and apply the patches
2. use make menuconfig (or make xconfig) to generate a custom.config file
3. Edit the spec file to build an extra package
4. Rebuild the rpm using rpm -ba

Would this work ?

Abdul
[EMAIL PROTECTED]

Reply via email to