diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-20 22:15:45 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-20 22:15:45 +0000 |
commit | 7312a86e73fd32158127981dc3cb8a27ce175423 (patch) | |
tree | da7aa4b7d032006f6d47f7550aba2f7d9751f73c | |
parent | b500a23c261cafd3239fb9411532dc78885af5e2 (diff) | |
download | anaconda-7312a86e73fd32158127981dc3cb8a27ce175423.tar.gz anaconda-7312a86e73fd32158127981dc3cb8a27ce175423.tar.xz anaconda-7312a86e73fd32158127981dc3cb8a27ce175423.zip |
use the first available free space that's large enough for the bootable
partition
-rw-r--r-- | autopart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py index 4226457ec..24d3d1e10 100644 --- a/autopart.py +++ b/autopart.py @@ -268,6 +268,8 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None): if partSize >= request.requestSize and partSize > largestPart[0]: if not request.primary or (not part.type & parted.PARTITION_LOGICAL): largestPart = (partSize, part) + if isBoot: + break if not largestPart[1]: return PARTITION_FAIL |