summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-10 20:36:04 +0000
committerMatt Wilson <msw@redhat.com>2000-01-10 20:36:04 +0000
commit5c067a476f22d23406b799e9261c26332220f2c0 (patch)
tree52a84822657803f7bb151a286052b54f67da7000 /todo.py
parent797eb8933d57e9e68be086a611df0377900efdf0 (diff)
downloadanaconda-5c067a476f22d23406b799e9261c26332220f2c0.tar.gz
anaconda-5c067a476f22d23406b799e9261c26332220f2c0.tar.xz
anaconda-5c067a476f22d23406b799e9261c26332220f2c0.zip
Use new fstab functions to set up milo/aboot
use fstab.getRootDevice in lilo setup
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/todo.py b/todo.py
index 0c8bb9123..5857ce568 100644
--- a/todo.py
+++ b/todo.py
@@ -536,9 +536,9 @@ class ToDo:
"up in lilo")
smpInstalled = 0
- (mntpoint, device, fsystem, doFormat, size) = self.fstab.mountList()[0]
- if mntpoint == "/":
- rootDev = device
+ rootDev = self.fstab.getRootDevice ()
+ if rootDev:
+ rootDev = rootDev[0]
else:
raise RuntimeError, "Installing lilo, but there is no root device"