From 25dd4d3cfbb705d44d4bc328473b818989579ba5 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Wed, 29 Dec 1999 16:05:08 +0000 Subject: various fixes for raid upgrades (which seem to work now) --- textw/lilo.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'textw') 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 -- cgit