Kernel build tree -- how to trim down

Mostafa Afgani m.afgani.fedora at googlemail.com
Sun Apr 9 14:41:35 UTC 2006


On 4/9/06, Paul Howarth <paul at city-fan.org> wrote:

> Build your own kernel RPM packages, then you'll get the same structure
> and ease of installation/removal etc.
>
> http://www.city-fan.org/tips/TweakKernelPackage

Thanks for the link. Excellent howto; but you might want to add the
following line to the
"Reconfigure the kernel" section:

  $ cp .config ~/rpmbuild/SOURCES/kernel-2.6.16-$(arch).config

Also, I think the kernel generated will still not be successful in
fooling yum since it is generated as 2.6.16-1.2080_FC5.$(whoami) as
opposed to 2.6.16-1.2080_FC5.

I've editied the spec file to remove the $(whoami) bit - hope it will
now generate a kernel that looks identical to the stock FC5 one.

> Paul.

Thanks,
M




More information about the fedora-list mailing list