diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-20 23:30:39 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-20 23:30:39 +0000 |
commit | 3b9fb96bd6769b4f8a9ee974c998b9c0e7a7c8ab (patch) | |
tree | 7305dfcf24b6b5b488a53b6447a65123ee5c70d2 /fsset.py | |
parent | 34ef080f2869852ac8d44c765410e5883d44fc84 (diff) | |
download | anaconda-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.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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: |