summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-08-18 17:04:59 +0000
committerBill Nottingham <notting@redhat.com>2000-08-18 17:04:59 +0000
commit6888e76633a921c3636b6e17eef42efc42759857 (patch)
tree92f78077d74657043252d1623121497fe341da2a /todo.py
parent3243d7993623b1be62320ae4d35c7700729a4673 (diff)
downloadanaconda-6888e76633a921c3636b6e17eef42efc42759857.tar.gz
anaconda-6888e76633a921c3636b6e17eef42efc42759857.tar.xz
anaconda-6888e76633a921c3636b6e17eef42efc42759857.zip
fix ia64 floppy here too
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/todo.py b/todo.py
index d92d69083..545472a9f 100644
--- a/todo.py
+++ b/todo.py
@@ -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")