summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-12-29 15:59:47 +0000
committerMatt Wilson <msw@redhat.com>1999-12-29 15:59:47 +0000
commit87a1d45e2ce6fc489ea621735f00dbf12c1a2b90 (patch)
treee2a6f9d4694e84c728c9e8317a69ad23a53beed5 /todo.py
parente44eb12840c9a86aeb804f14c09490f57bb607a9 (diff)
downloadanaconda-87a1d45e2ce6fc489ea621735f00dbf12c1a2b90.tar.gz
anaconda-87a1d45e2ce6fc489ea621735f00dbf12c1a2b90.tar.xz
anaconda-87a1d45e2ce6fc489ea621735f00dbf12c1a2b90.zip
various fixes for raid upgrades (which seem to work now)
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/todo.py b/todo.py
index 590ea2dff..607cd8e4b 100644
--- a/todo.py
+++ b/todo.py
@@ -827,6 +827,8 @@ class ToDo:
rootparts.append (dev)
isys.umount('/mnt/sysimage')
os.remove ('/tmp/' + dev)
+
+ raid.stopAllRaid(mdList)
for drive in drives:
isys.makeDevInode(drive, '/tmp/' + drive)
@@ -875,9 +877,11 @@ class ToDo:
self.getHeaderList ()
if self.setupFilesystems:
isys.makeDevInode(root, '/tmp/' + root)
+ mdList = raid.startAllRaid(self.fstab.driveList())
isys.mount('/tmp/' + root, '/mnt/sysimage')
fstab.readFstab('/mnt/sysimage/etc/fstab', self.fstab)
isys.umount('/mnt/sysimage')
+ raid.stopAllRaid(mdList)
self.fstab.mountFilesystems (self.instPath)
packages = rpm.findUpgradeSet (self.hdList.hdlist, self.instPath)
self.fstab.umountFilesystems (self.instPath)