summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-26 19:28:51 +0000
committerMatt Wilson <msw@redhat.com>1999-09-26 19:28:51 +0000
commit6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9 (patch)
tree29e63ca7a403452764129178c3641fab981cf374 /comps.py
parent29c3c9c449c205e5a421b0e32743e97bd03fddda (diff)
downloadanaconda-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.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/comps.py b/comps.py
index cb63efb6f..16cef771f 100644
--- a/comps.py
+++ b/comps.py
@@ -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