kernel build tools
scripts
- installkernel
- gets hooked by make install, this script copies the kernel, system map and .config to /boot
- kbuild-install
- controls the kernel build and optional transfer to remote host as normal user
- kbuild-install-local
- controls local make install as superuser
- rm-old-kernels
- a cleanup script to remove old kernels and their modules,
use with extreme care
installkernel
This script is called during execution of the make install step to write the kernel image and copy the system.map and .config to the /boot directory. The installkernel script provided here works for both 2.4 and 2.6 series kernel builds.
make install looks for this script in two locations:
- ~/bin/installkernel
- /sbin/installkernel
building a kernel
I would suggest that people who compile new kernels should: - NOT do so in /usr/src. Leave whatever kernel (probably only the header files) that the distribution came with there, but don't touch it. - compile the kernel in their own home directory, as their very own selves. No need to be root to compile the kernel. You need to be root to _install_ the kernel, but that's different. ... Linus
— http://uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html
where's the rest?
Taken out for review, but don't hold your breath...