diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-01 20:48:53 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-01 20:48:53 +0000 |
commit | 44d29ea59647c60411688b7dda2c684852cda958 (patch) | |
tree | 5f1c543f88d6e65c1192d3d57060561231e0a8d7 /textw | |
parent | f612d58f9e88130dfa8ad92e2a8a4453eb46af88 (diff) | |
download | anaconda-44d29ea59647c60411688b7dda2c684852cda958.tar.gz anaconda-44d29ea59647c60411688b7dda2c684852cda958.tar.xz anaconda-44d29ea59647c60411688b7dda2c684852cda958.zip |
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
Diffstat (limited to 'textw')
-rw-r--r-- | textw/lilo.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |