From 6888e76633a921c3636b6e17eef42efc42759857 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 18 Aug 2000 17:04:59 +0000 Subject: fix ia64 floppy here too --- todo.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'todo.py') 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") -- cgit