Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142295 - Enhancement request: uninstall with genkernel
Summary: Enhancement request: uninstall with genkernel
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 09:31 UTC by Geert Vanhaute
Modified: 2007-11-20 19:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geert Vanhaute 2006-07-31 09:31:16 UTC
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
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-17 03:13:14 UTC
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.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-20 19:41:25 UTC
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.