From 44d29ea59647c60411688b7dda2c684852cda958 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Tue, 1 Feb 2000 20:48:53 +0000 Subject: o upgrade code rebuilds the db to a tmp dir and opens that db to calculate the upgrade set. When the user OKs the upgrade, the old db is deleted and the new rebuilt db is moved into place. o lilo/fstab checks for testing mode. o added a iutil.rmrf() function to recursively remove directories --- textw/lilo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textw') diff --git a/textw/lilo.py b/textw/lilo.py index 54ba57b49..d4315a85d 100644 --- a/textw/lilo.py +++ b/textw/lilo.py @@ -10,7 +10,7 @@ import string class LiloAppendWindow: def __call__(self, screen, todo): - if todo.fstab.rootOnLoop(): + if not todo.fstab.setupFilesystems or todo.fstab.rootOnLoop(): todo.skipLilo = 1 return INSTALL_NOOP @@ -58,6 +58,7 @@ class LiloAppendWindow: class LiloWindow: def __call__(self, screen, todo): + if not todo.setupFilesystems: return INSTALL_NOOP (mount, dev, fstype, format, size) = todo.fstab.mountList()[0] if mount != '/': return INSTALL_NOOP if todo.skipLilo: return INSTALL_NOOP -- cgit