diff options
author | Erik Troan <ewt@redhat.com> | 2000-07-25 19:04:34 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-07-25 19:04:34 +0000 |
commit | d48a2f3ce01094c5cbfc461e74e87110fc00d226 (patch) | |
tree | fbff13d15ae85e8a938c43b1a14baec6fed88036 /todo.py | |
parent | 5d95c102169bf3cf566fa291c417147b148f4b91 (diff) | |
download | anaconda-d48a2f3ce01094c5cbfc461e74e87110fc00d226.tar.gz anaconda-d48a2f3ce01094c5cbfc461e74e87110fc00d226.tar.xz anaconda-d48a2f3ce01094c5cbfc461e74e87110fc00d226.zip |
clear out /etc/mtab on upgrade
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -507,7 +507,7 @@ class ToDo: "--device", "/dev/" + self.fdDevice, kernelTag[1:] ], - stdout = None, stderr = None, + stdout = None, stderr = None, searchPath = 1, root = self.instPath) w.pop() if rc: @@ -1441,6 +1441,11 @@ class ToDo: # flag this so we only do it once. self.dbpath = None + # An old mtab can cause confusion (esp if loop devices are + # in it) + f = open(self.instPath + "/etc/mtab", "w+") + f.close() + self.method.systemMounted (self.fstab, self.instPath, self.hdList.selected()) if not self.installSystem: |