diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-11-26 22:51:44 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-11-26 22:51:44 +0000 |
commit | 1a069271b3e1f22f4205b58a3c2de4c331fdb47e (patch) | |
tree | 095cd5c241d2b0d62d09635add62ab038d7dd764 | |
parent | 585db9fcd6afc00f077db496dd5d5aed30e56f3f (diff) | |
download | anaconda-1a069271b3e1f22f4205b58a3c2de4c331fdb47e.tar.gz anaconda-1a069271b3e1f22f4205b58a3c2de4c331fdb47e.tar.xz anaconda-1a069271b3e1f22f4205b58a3c2de4c331fdb47e.zip |
make partition ordering stronger (#52809).
-rw-r--r-- | partitioning.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/partitioning.py b/partitioning.py index 53f2a7958..8ec4a6931 100644 --- a/partitioning.py +++ b/partitioning.py @@ -1042,6 +1042,13 @@ class Partitions: index = self.requests.index(request) self.requests[n] = request self.requests[index] = tmp + elif (request.size and self.requests[n].size and + (request.size == self.requests[n].size) and + (request.uniqueID < self.requests[n].uniqueID)): + tmp = self.requests[n] + index = self.requests.index(request) + self.requests[n] = request + self.requests[index] = tmp n = n + 1 tmp = self.getBootableRequest() |