summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-12-29 16:05:08 +0000
committerErik Troan <ewt@redhat.com>1999-12-29 16:05:08 +0000
commit25dd4d3cfbb705d44d4bc328473b818989579ba5 (patch)
tree9d9bc3310020a1e527736ee27c3638d6967a7b46
parent87a1d45e2ce6fc489ea621735f00dbf12c1a2b90 (diff)
downloadanaconda-25dd4d3cfbb705d44d4bc328473b818989579ba5.tar.gz
anaconda-25dd4d3cfbb705d44d4bc328473b818989579ba5.tar.xz
anaconda-25dd4d3cfbb705d44d4bc328473b818989579ba5.zip
various fixes for raid upgrades (which seem to work now)
-rw-r--r--textw/lilo.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/textw/lilo.py b/textw/lilo.py
index 1e242772a..09c83a177 100644
--- a/textw/lilo.py
+++ b/textw/lilo.py
@@ -58,8 +58,11 @@ class LiloWindow:
if mount != '/': return INSTALL_NOOP
if todo.skipLilo: return INSTALL_NOOP
- bootpart = self.fstab.getBootDevice()
- boothd = self.fstab.getMbrDevice()
+ if not todo.allowLiloLocationConfig():
+ return INSTALL_NOOP
+
+ bootpart = todo.fstab.getBootDevice()
+ boothd = todo.fstab.getMbrDevice()
if (todo.getLiloLocation () == "mbr"):
default = 0