summaryrefslogtreecommitdiffstats
path: root/fsset.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 /fsset.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 'fsset.py')
-rw-r--r--fsset.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index c0d27b46a..c49901564 100644
--- a/fsset.py
+++ b/fsset.py
@@ -733,6 +733,14 @@ class FileSystemSet:
def badblocksEntry(self, entry, chroot):
entry.fsystem.badblocksDevice(entry, self.progressWindow, chroot)
+ def getMigratableEntries(self):
+ retval = []
+ for entry in self.entries:
+ if entry.origfsystem and entry.origfsystem.isMigratable():
+ retval.append(entry)
+
+ return retval
+
def formattablePartitions(self):
list = []
for entry in self.entries: