[yum-commits] yum/config.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Mon Nov 11 09:45:40 UTC 2013
yum/config.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit a176dd5085d9078fce183d3ce7cf07723dd38b5e
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Fri Nov 8 11:33:38 2013 +0100
installonlypkgs: remove unneeded provides, add "installonlypkg(kernel)"
"kernel", "kernel-devel", "kernel-source": we must keep these.
"kernel-modules": not provided anymore. kernel-modules-extra
package provides installonly(kernel-module) already.
All the remaining "kernel-*" provides: They either don't exist,
or every providing package provides "kernel", too.
The new provide "installonlypkg(kernel)" should replace
kernel & kernel-devel & kernel-source in the future.
diff --git a/yum/config.py b/yum/config.py
index 851339d..ecb8490 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -750,12 +750,12 @@ class YumConf(StartupConf):
proxy_password = Option()
username = Option()
password = Option()
- installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
+ installonlypkgs = ListOption(['kernel',
+ 'kernel-devel',
+ 'kernel-source',
+ 'installonlypkg(kernel)',
'installonlypkg(kernel-module)',
- 'installonlypkg(vm)',
- 'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
- 'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE',
- 'kernel-PAE-debug'])
+ 'installonlypkg(vm)'])
# NOTE: If you set this to 2, then because it keeps the current kernel it
# means if you ever install an "old" kernel it'll get rid of the newest one
# so you probably want to use 3 as a minimum ... if you turn it on.
More information about the Yum-commits
mailing list