I’d like to install multiple kernels, one of the recent development Linux 2.6.31 kernels that openSUSE makes available in the Kernel:HEAD project and the ones in the distribution update channel that contain mostly security fixes and are of version 2.6.27 for openSUSE 11.1.
Unfortunately, the GTK package manager offers no good way to install multiple versions of the same thing, so I wrote two scripts that will download and install the kernel using rpm and also delete the older kernels.
clean_kernels will use
rpm -e to uninstall all kernels except the two most recent. Just run it as is
get_kernel will download and possibly install the latest kernel from Kernel:HEAD. You should make a symlink with
ln -s get_kernel get_update_kernel which will then download and possibly install the latest kernel from the update repository.
Maybe there are better ways to do this, tell me if you know.