--- storage/partitioning.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index a71ba91..78b4ffa 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -356,6 +356,12 @@ def partitionCompare(part1, part2): """ ret = 0 + if part1.req_base_weight: + ret -= part1.req_base_weight + + if part2.req_base_weight: + ret += part2.req_base_weight + # bootable partitions to the front ret -= cmp(part1.req_bootable, part2.req_bootable) * 1000 -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list