I'm in the middle of writing a chapter on Wireless Networks
and I'm having the users recompile the kernel for NDISWrapper.
What the the best way to install the source and compile the
kernel?
Right now I'm doing:
wget
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.14-1.1653.src.rpm
rpm -ihv kernel-2.6.14-1.1653_FC4.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --target=i686 kernel-2.6.spec
cd ../BUILD/kernel-2.6.14/linux-2.6.14/
make xconfig (I need 8K stacks)
make rpm
cd /usr/src/redhat/RPMS/i386/
rpm -ivh kernel-2.6.14prep-1.i386.rpm
cd /boot
mkinitrd initrd-2.6.14-prep.img 2.6.14-prep
This whole process eats up 1.3G of disk space. There has to be a
better way!
Thanks
--
Linux Home Automation Neil Cherry ncherry@xxxxxxxxxxx
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site