summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-11 02:48:00 +0000
committerMatt Wilson <msw@redhat.com>2001-07-11 02:48:00 +0000
commit693a1cf701c76baed099f4e0c2b344b3e482803a (patch)
treec6071f00738ec961ea5df430694656b8f07d6cf7 /upgrade.py
parentc03ccd135d88a97b987c1e83763fe3c4ca457370 (diff)
downloadanaconda-693a1cf701c76baed099f4e0c2b344b3e482803a.tar.gz
anaconda-693a1cf701c76baed099f4e0c2b344b3e482803a.tar.xz
anaconda-693a1cf701c76baed099f4e0c2b344b3e482803a.zip
raid upgrades seem to work with at least non-root now
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/upgrade.py b/upgrade.py
index 76eb4f282..6586689e9 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -47,7 +47,8 @@ def mountRootPartition(intf, rootInfo, oldfsset, instPath, allowDirty = 0,
(root, rootFs) = rootInfo
diskset = DiskSet()
- mdList = raid.startAllRaid(diskset.driveList())
+ diskset.openDevices()
+ diskset.startAllRaid()
if rootFs == "vfat":
mountLoopbackRoot(root)
@@ -64,10 +65,9 @@ def mountRootPartition(intf, rootInfo, oldfsset, instPath, allowDirty = 0,
else:
isys.umount('/mnt/sysimage')
- raid.stopAllRaid(mdList)
-
if not allowDirty and oldfsset.hasDirtyFilesystems():
import sys
+ diskset.stopAllRaid()
intf.messageWindow(_("Dirty Filesystems"),
_("One or more of the filesystems for your Linux system "
"was not unmounted cleanly. Please boot your Linux "