summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-05 19:03:37 +0000
committerMatt Wilson <msw@redhat.com>2000-02-05 19:03:37 +0000
commit2ed1c9c304c5ad436d4aba54d2c97a166093512d (patch)
tree8ee26680fd04bce30436368bfc42670f50d4a249 /todo.py
parentb9d3625b6bc832e990ccaced7b8f9f056c28a44e (diff)
downloadanaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.tar.gz
anaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.tar.xz
anaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.zip
sparc installclass lilo/silo fixes
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/todo.py b/todo.py
index a7010f829..062ccfbcb 100644
--- a/todo.py
+++ b/todo.py
@@ -784,9 +784,15 @@ class ToDo:
todo.bootdisk = todo.instClass.getMakeBootdisk()
todo.zeroMbr = todo.instClass.zeroMbr
(where, linear, append) = todo.instClass.getLiloInformation()
- todo.lilo.setDevice(where)
- todo.lilo.setLinear(linear)
- todo.lilo.setAppend(append)
+
+ arch = iutil.getArch ()
+ if arch == "i386":
+ todo.lilo.setDevice(where)
+ todo.lilo.setLinear(linear)
+ todo.lilo.setAppend(append)
+ elif arch == "sparc":
+ todo.silo.setDevice(where)
+ todo.silo.setAppend(append)
for (mntpoint, (dev, fstype, reformat)) in todo.instClass.fstab:
todo.addMount(dev, mntpoint, fstype, reformat)