Safe way to remove old kernels (except SMP)

Matthew Miller mattdm at mattdm.org
Tue Jul 19 12:56:45 UTC 2005


On Tue, Jul 19, 2005 at 08:23:52AM -0400, Dr. Michael J. Chudobiak wrote:
> >  sudo package-cleanup --oldkernels
> What a useful tip! This is really, really useful - except that it 
> ignores kernel-smp packages. Is this deliberate?

Probably not -- the program is quite new.

> Perhaps the script should be modified to see which of kernel or 
> kernel-smp is in use (using uname -a or something similar), and modify 
> the comparison in line 141 of the package-cleanup script accordingly.

Or look at /etc/sysconfig/kernel, yeah. Or just always check. In any case,
patches are accepted on the yum-devel list. :)


-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.




More information about the fedora-list mailing list