diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-26 19:28:51 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-26 19:28:51 +0000 |
commit | 6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9 (patch) | |
tree | 29e63ca7a403452764129178c3641fab981cf374 /comps.py | |
parent | 29c3c9c449c205e5a421b0e32743e97bd03fddda (diff) | |
download | anaconda-6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9.tar.gz anaconda-6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9.tar.xz anaconda-6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9.zip |
don't put everything/x servers into everything component
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -5,6 +5,14 @@ import types import iutil import urllib +XFreeServerPackages = { 'XFree86-3DLabs' : 1, 'XFree86-8514' : 1, + 'XFree86-AGX' : 1, 'XFree86-I128' : 1, + 'XFree86-Mach32' : 1, 'XFree86-Mach64' : 1, + 'XFree86-Mach8' : 1, 'XFree86-Mono' : 1, + 'XFree86-P9000' : 1, 'XFree86-S3' : 1, + 'XFree86-S3V' : 1, 'XFree86-SVGA' : 1, + 'XFree86-W32' : 1 } + class Package: def __getitem__(self, item): return self.h[item] @@ -238,7 +246,11 @@ class ComponentSet: everything = Component("Everything", 0, 0) for package in packages.keys (): - everything.addPackage (packages[package]) + if (packages[package]['name'] != 'kernel' and + packages[package]['name'] != 'kernel-BOOT' and + packages[package]['name'] != 'kernel-smp' and + not XFreeServerPackages.has_key(packages[package]['name'])): + everything.addPackage (packages[package]) self.comps.append (everything) self.compsDict["Everything"] = everything |