summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-02-08 17:34:27 +0000
committerMike Fulbright <msf@redhat.com>2002-02-08 17:34:27 +0000
commit4635447e64b0660bac3d679294b6d2d4c74a9123 (patch)
tree6e83307dbbf351480beeb86c0ba297a23d4ed246 /anaconda
parenta5649c996f254ae1e3b2db0586cda8255bc65d77 (diff)
downloadanaconda-4635447e64b0660bac3d679294b6d2d4c74a9123.tar.gz
anaconda-4635447e64b0660bac3d679294b6d2d4c74a9123.tar.xz
anaconda-4635447e64b0660bac3d679294b6d2d4c74a9123.zip
heh a little too heavy handed killing reconfig
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda13
1 files changed, 13 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index cf016983f..eba535309 100755
--- a/anaconda
+++ b/anaconda
@@ -457,6 +457,19 @@ if display_mode == 'g':
else:
card = videohw.primaryCard()
xcfg = xf86config.XF86Config(card, monitorhw, mousehw, runres)
+else:
+ # text mode
+ import xf86config
+
+ # only probe X related stuff if we're doing an install
+ if iutil.getArch() == "s390":
+ # XXX why doesn't videohw.primaryCard() dtrt on s390?
+ card = videocard.VideoCard()
+ else:
+ card = videohw.primaryCard()
+ xcfg = xf86config.XF86Config(card, monitorhw, mousehw, runres)
+
+
import configFileData
configFile = configFileData.configFileData()