On Monday 23 July 2007 17:46:11 updates(a)fedoraproject.org wrote:
- integrated installonlyn plugin functionality - new config option
installonly_limit will remove old, non-running kernels from your system as
you add more. In fedora, if you had disabled the installonlyn plugin you
will have to disable it your /etc/yum.conf with 'installonly_limit = 0'.
from man yum.conf:
| installonlypkgs
| List of packages that should only ever be installed, never
| updated. Kernels in particular fall into this category.
| Defaults to ‘kernel,
| kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug,
| kernel-unsupported’.
Imho kernel-PAE and kernel-xen are here missing, also the installonlyn
supported some more kernel packages, here are the suffixes:
31 for s in ("bigmem", "enterprise", "smp",
"hugemem", "PAE", "rt",
32 "guest", "hypervisor", "xen0",
"xenU", "xen", "debug"):
And will the new yum also keep the the regarding -devel packages installed?
Oh, when I look into the source
(/usr/lib/python2.5/site-packages/yum/config.py) the default values differ in
reality:
490 installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
491 'kernel-enterprise','kernel-smp',
'kernel-modules', 'kernel-debug',
492 'kernel-unsupported', 'kernel-source',
'kernel-devel'])
493 installonly_limit = IntOption(2)
494 kernelpkgnames =
ListOption(['kernel','kernel-smp', 'kernel-enterprise',
495 'kernel-bigmem', 'kernel-BOOT'])
496 exactarchlist = ListOption(['kernel', 'kernel-smp',
'glibc',
497 'kernel-hugemem', 'kernel-enterprise',
'kernel-bigmem',
498 'kernel-devel'])
Is it correct that kernelpkgnames and exactarchlist do not include every
kernel package name that installonlypkgs does?
Regards,
Till