diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-20 05:07:15 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-20 05:07:15 +0000 |
commit | c9d4bac54e0d29664e5df0125d118836fcdecd79 (patch) | |
tree | 03dfabcc7458367bfdc6747a627f2f4344a5ccf8 /partitioning.py | |
parent | a3a6f9b11794a0c834b3612ba449bffc26c5a156 (diff) | |
download | anaconda-c9d4bac54e0d29664e5df0125d118836fcdecd79.tar.gz anaconda-c9d4bac54e0d29664e5df0125d118836fcdecd79.tar.xz anaconda-c9d4bac54e0d29664e5df0125d118836fcdecd79.zip |
handle migration during upgrades and rewrite fstab appropriately
Diffstat (limited to 'partitioning.py')
-rw-r--r-- | partitioning.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/partitioning.py b/partitioning.py index 30a5bf0c6..d678a6daf 100644 --- a/partitioning.py +++ b/partitioning.py @@ -822,7 +822,7 @@ class Partitions: return 1 return 0 - def getMigratableRequests(self): + def getMigratableRequests(self, thefsset): retval = [] for request in self.requests: if request.type != REQUEST_PREEXIST: @@ -830,7 +830,9 @@ class Partitions: if request.origfstype: if request.origfstype.isMigratable(): - retval.append(request) + entry = thefsset.getEntryByDeviceName(request.device) + if entry: + retval.append(request) return retval |