Could it be possible to add the functionality to uninstall an older existing kernel? This means: - it checks if the kernel you want to uninstall is not the current kernel - if so, it erases all files in according dir in /lib/modules - it erases appropriate kernel, initramfs, systemmap, ... from /boot - it removes the grub/lilo entry in the menu Also a small bug: -initramfs is not mentioned in man page of genkernel
I don't think there is any interest on our side for creating this feature. If you want to submit a patch for this, feel free to reopen.
There is not. I actually should have mentioned this earlier, but I am working on (slowly) an overlay (and modifications to genkernel, as necessary) that uses portage and genkernel to produce kernels/initramfs/modules, allowing it to be tracked by portage (or even other package managers) and removed during upgrade, just like any other package would.