# make mrproper `/bin/cp configs/kernel-2.4.20-i686.config .config` oldconfig dep clean rpm
The resulting rpm file seems to always be built for i386 even though you're using a 686 .config file. It looks like kerne.spec file which is generated from "scripts/mkspec" neglects to issue an arch. Or you have to edit the Makefile and slip in a "--target=i686" or "--target=athlon" like so: $(RPM) -ta --target=i686 $(TOPDIR)/../$(KERNELPATH).tar.gz ; \ before you do the build. More troubling is the absense of a pre-install and post-install script embedded within the rpm. So the kernel install doesn't do the "/sbin/new-kernel-pkg" trick as in the official kernel rpms. I guess what is needed is a new mkspec script for RH systems which will slip in the install scripts. -eric wood -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list