summaryrefslogtreecommitdiffstats
path: root/hdrlist.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-05-05 00:41:04 +0000
committerJeremy Katz <katzj@redhat.com>2005-05-05 00:41:04 +0000
commitd2e725e1df3b07de24566d37dfb2afe3c7a29031 (patch)
treef7209db78783c4f6a045574afb594b145c449026 /hdrlist.py
parent57ec0d5cca9d562978619ecb3a05a0fbf1622522 (diff)
downloadanaconda-d2e725e1df3b07de24566d37dfb2afe3c7a29031.tar.gz
anaconda-d2e725e1df3b07de24566d37dfb2afe3c7a29031.tar.xz
anaconda-d2e725e1df3b07de24566d37dfb2afe3c7a29031.zip
2005-05-04 Jeremy Katz <katzj@redhat.com>
* hdrlist.py (EverythingExclude): Add the gfs kernel module packages to the everything exclude list too... we need to do this better :-/
Diffstat (limited to 'hdrlist.py')
-rw-r--r--hdrlist.py29
1 files changed, 16 insertions, 13 deletions
diff --git a/hdrlist.py b/hdrlist.py
index a6d105105..b8a5486c4 100644
--- a/hdrlist.py
+++ b/hdrlist.py
@@ -47,18 +47,21 @@ EVERYTHING_DESCRIPTION = _("This group includes all the packages available. "
"than just the ones in all the other package "
"groups on this page.")
-EverythingExclude = {'kernel' : None, 'kernel-BOOT' : None,
- 'kernel-smp' : None, 'kernel-bigmem' : None,
- 'kernel-summit' : None, 'kernel-enterprise' : None,
- 'kernel-tape' : None, 'kernel-BOOTtape' : None,
- 'kernel-pseries': None, 'kernel-iseries': None,
- 'kernel-unsupported': None,'kernel-smp-unsupported': None,
- 'kernel-xen0': None, 'kernel-xenU': None,
- 'kernel-xen0-devel': None, 'kernel-xenU-devel': None,
- 'kernel-smp-devel': None, 'kernel-hugemem-devel': None,
- 'kernel-bigmem-unsupported': None,
- 'kernel-hugemem': None,
- 'kernel-hugemem-unsupported': None }
+EverythingExclude = ("kernel", "kernel-BOOT", "kernel-smp", "kernel-bigmem",
+ "kernel-summit", "kernel-enterprise", "kernel-tape",
+ "kernel-BOOTtape", "kernel-pseries", "kernel-iseries",
+ "kernel-unsupported", "kernel-smp-unsupported",
+ "kernel-xen0", "kernel-xenU", "kernel-xen0-devel",
+ "kernel-xenU-devel", "kernel-smp-devel",
+ "kernel-hugemem-devel", "kernel-bigmem-unsupported",
+ "kernel-hugemem", "kernel-hugemem-unsupported",
+ "cman-kernel-smp", "dlm-kernel-smp",
+ "GFS-kernel-smp", "gnbd-kernel-smp",
+ "cman-kernel-xen0", "dlm-kernel-xen0",
+ "GFS-kernel-xen0", "gnbd-kernel-xen0",
+ "cman-kernel-xenU", "dlm-kernel-xenU",
+ "GFS-kernel-xenU", "gnbd-kernel-xenU")
+
def showMem():
f = open("/proc/self/status", "r")
@@ -789,7 +792,7 @@ class GroupSet:
if multiarch is not None:
(comp, best, biarch) = multiarch
for pkgname in hdrlist.pkgnames.keys():
- if EverythingExclude.has_key(pkgname):
+ if pkgname in EverythingExclude:
continue
mainnevra = hdrlist.getBestNevra(pkgname, prefArch = None)