diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-18 17:04:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-18 17:04:59 +0000 |
commit | 6888e76633a921c3636b6e17eef42efc42759857 (patch) | |
tree | 92f78077d74657043252d1623121497fe341da2a /todo.py | |
parent | 3243d7993623b1be62320ae4d35c7700729a4673 (diff) | |
download | anaconda-6888e76633a921c3636b6e17eef42efc42759857.tar.gz anaconda-6888e76633a921c3636b6e17eef42efc42759857.tar.xz anaconda-6888e76633a921c3636b6e17eef42efc42759857.zip |
fix ia64 floppy here too
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -389,9 +389,7 @@ class ToDo: f.close() elif iutil.getArch() == "alpha": pass - elif iutil.getArch() == "ia64": - fdDevice = "hda" - elif iutil.getArch() == "i386": + elif iutil.getArch() == "i386" or iutil.getArch() == "ia64": # Look for the first IDE floppy device drives = isys.floppyDriveDict().keys() if not drives: @@ -406,6 +404,13 @@ class ToDo: # No IDE floppy's -- we're fine w/ /dev/fd0 if not floppyDrive: return + # on ia64, use the first partition (hack) + if iutil.getArch() == "ia64": + floppyDrive = '%s1' % floppyDrive + self.fdDevice = floppyDrive + log("anaconda floppy device is %s", self.fdDevice) + return + # Look in syslog for a real fd0 (which would take precedence) try: f = open("/tmp/syslog", "r") |