summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-20 23:30:39 +0000
committerMike Fulbright <msf@redhat.com>2001-07-20 23:30:39 +0000
commit3b9fb96bd6769b4f8a9ee974c998b9c0e7a7c8ab (patch)
tree7305dfcf24b6b5b488a53b6447a65123ee5c70d2 /upgrade.py
parent34ef080f2869852ac8d44c765410e5883d44fc84 (diff)
downloadanaconda-3b9fb96bd6769b4f8a9ee974c998b9c0e7a7c8ab.tar.gz
anaconda-3b9fb96bd6769b4f8a9ee974c998b9c0e7a7c8ab.tar.xz
anaconda-3b9fb96bd6769b4f8a9ee974c998b9c0e7a7c8ab.zip
fix code to find migratable mounts during an upgrade to use FileSystemSet object (id.fsset) instead of partition requests (id.partitions) since the original has RAID and partitions in it, and the later doesnt (yet)
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 b6e041da1..09b5ca8f3 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -78,9 +78,9 @@ def mountRootPartition(intf, rootInfo, oldfsset, instPath, allowDirty = 0,
oldfsset.mountFilesystems (instPath)
# returns None if no filesystem exist to migrate
-def upgradeMigrateFind(dispatch, partitions, thefsset):
- migratereq = partitions.getMigratableRequests(thefsset)
- if not migratereq or len(migratereq) < 1:
+def upgradeMigrateFind(dispatch, thefsset):
+ migents = thefsset.getMigratableEntries()
+ if not migents or len(migents) < 1:
dispatch.skipStep("upgrademigratefs")
else:
dispatch.skipStep("upgrademigratefs", skip = 0)