summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-11-14 22:04:00 +0000
committerMike Fulbright <msf@redhat.com>2002-11-14 22:04:00 +0000
commit7bd04066bd15907ede35aa50d772b4ee3d5e2329 (patch)
tree7a38fb32dd845eb6e24432318c098cc0203a4999 /packages.py
parentd6174aff851bdb25f90fe0943b152dd4b61360cb (diff)
downloadanaconda-7bd04066bd15907ede35aa50d772b4ee3d5e2329.tar.gz
anaconda-7bd04066bd15907ede35aa50d772b4ee3d5e2329.tar.xz
anaconda-7bd04066bd15907ede35aa50d772b4ee3d5e2329.zip
remove xfree86 3.x code
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py28
1 files changed, 2 insertions, 26 deletions
diff --git a/packages.py b/packages.py
index 61076e8b4..ad10504a4 100644
--- a/packages.py
+++ b/packages.py
@@ -91,10 +91,10 @@ def writeXConfiguration(id, instPath):
if id.xsetup.skipx:
return
-
+
xserver = id.videocard.primaryCard().getXServer()
if not xserver:
- return
+ return
log("Writing X configuration")
if not testmode:
@@ -529,30 +529,6 @@ def doPreInstall(method, id, intf, instPath, dir):
if pcmcia.pcicType():
select(id.hdList, 'kernel-pcmcia-cs')
- if iutil.getArch() != "s390":
- xserver = id.videocard.primaryCard().getXServer()
- if (xserver and id.comps.packages.has_key('XFree86')
- and id.comps.packages['XFree86'].selected
- and xserver != "XFree86"):
- try:
- id.hdList['XFree86-' + xserver[5:]].selected = 1
- except ValueError, message:
- log ("Error selecting XFree86 server package: %s", message)
- except KeyError:
- log ("Error selecting XFree86 server package, "
- "package not available")
-
- # XXX remove me once we have dependency resolution after
- # videocard selection
- try:
- id.hdList['XFree86-compat-modules'].selected = 1
- except ValueError, message:
- log ("Error selecting XFree86-compat-modules package")
- except KeyError:
- log ("Error selecting XFree86-compat-modules, "
- "package not available")
-
-
# make sure that all comps that include other comps are
# selected (i.e. - recurse down the selected comps and turn
# on the children