diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-01-09 00:53:27 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-01-09 00:53:27 +0000 |
commit | 09bb99f8845738fe2a23a45d2505493d61480b5a (patch) | |
tree | f85ebd1beaed4dbd28766b85c05871bb53cac518 /anaconda | |
parent | 46fd98e4e68277e5f11a82e57e94c728d1d1c9b7 (diff) | |
download | anaconda-09bb99f8845738fe2a23a45d2505493d61480b5a.tar.gz anaconda-09bb99f8845738fe2a23a45d2505493d61480b5a.tar.xz anaconda-09bb99f8845738fe2a23a45d2505493d61480b5a.zip |
iutil.getArch now returns s390 for s390x, clean up to handle this nicely
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -213,7 +213,7 @@ for n in args: display_mode = 't' elif (str == '-x' or str == '--xmode'): xmode = 1 - elif iutil.getArch() == "s390" or iutil.getArch() == "s390x": + elif iutil.getArch() == "s390": logFile = "/tmp/anaconda-s390.log" # @@ -251,7 +251,7 @@ if (debug): # don't let folks do anything stupid on !s390 if (not flags.test and os.getpid() > 90 and flags.setupFilesystems and - not (iutil.getArch() == "s390" or iutil.getArch() == "s390x")): + not iutil.getArch() == "s390"): sys.stderr.write( "You're running me on a live system! that's incredibly stupid.\n") sys.exit(1) @@ -420,7 +420,7 @@ if (display_mode != 't' and method and time.sleep(2) # XXX should be fixed to be more generic instead of just ifarching -if iutil.getArch() != "s390" and iutil.getArch() != "s390x": +if iutil.getArch() != "s390": # if no mouse we force text mode mousedev = mousehw.get() if display_mode != 't' and mousedev[0] == "None - None": @@ -474,7 +474,7 @@ elif progmode != 'reconfig': import xf86config # only probe X related stuff if we're doing an install - if iutil.getArch() == "s390" or iutil.getArch() == "s390x": + if iutil.getArch() == "s390": # XXX why doesn't videohw.primaryCard() dtrt on s390? card = videocard.VideoCard() else: |