diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-05 19:03:37 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-05 19:03:37 +0000 |
commit | 2ed1c9c304c5ad436d4aba54d2c97a166093512d (patch) | |
tree | 8ee26680fd04bce30436368bfc42670f50d4a249 /todo.py | |
parent | b9d3625b6bc832e990ccaced7b8f9f056c28a44e (diff) | |
download | anaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.tar.gz anaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.tar.xz anaconda-2ed1c9c304c5ad436d4aba54d2c97a166093512d.zip |
sparc installclass lilo/silo fixes
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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) |