Thanks for the information. I can't believe Alan COX has released yet
another AC patch while I was busy try to compile ac4.
Abdul
On Mon, 28 Jun 1999, Axalon Bloodstone wrote:
>
>
> On Mon, 28 Jun 1999, Abdulmajid Sharif wrote:
>
> > 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.
>
> ships with 2.2.9-19mdk
>
> > 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.) ?
>
> If you've installed the kernel-source and do not need an rpm, just copy
> the kernel-2.2-i586-smp.config (name might be off didn't check)
> to /usr/src/linux/.config and modify till your hearts content. The
> kernel-source has all the patches applied..
>
> > 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 ?
>
> Should work, this is how Redhat expects everyone todo it (see rh's
> hedwig-list archives for more explination)