On Sun, 2006-04-09 at 16:41 +0200, Mostafa Afgani wrote: > On 4/9/06, Paul Howarth <paul@xxxxxxxxxxxx> 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 The third step does this, with the addition of a comment line at the top of the file that's needed for the rpm build to work: (echo "# $(uname -i)"; cat .config) > ~/rpmbuild/SOURCES/kernel-2.6.15-$(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. I didn't want to do that because I thought a tweaked kernel *should* have a different name from the stock one. I know the kernel maintainers get very upset at bugzilla reports about tweaked kernels that purport to be stock kernels. Is there some problem that needs the kernel to look exactly like the stock one for yum? Paul.