diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-03-02 18:49:30 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-03-02 18:49:30 +0000 |
commit | 6fa37336f3e2584f5d7811f38633047e4d6f7457 (patch) | |
tree | e6b625c25c4d8229b55e99b4b72862d9efe2e03c | |
parent | f30cceebbc5c01ba9458e31a0b64b27aabc4a906 (diff) | |
download | anaconda-6fa37336f3e2584f5d7811f38633047e4d6f7457.tar.gz anaconda-6fa37336f3e2584f5d7811f38633047e4d6f7457.tar.xz anaconda-6fa37336f3e2584f5d7811f38633047e4d6f7457.zip |
2005-03-02 Jeremy Katz <katzj@redhat.com>
* autopart.py (fitConstrained): Allow logical partitions to go all
the way to the end of the extended partition. (clumens, #101432)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | autopart.py | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-03-02 Jeremy Katz <katzj@redhat.com> + + * autopart.py (fitConstrained): Allow logical partitions to go all + the way to the end of the extended partition. (clumens, #101432) + 2005-02-28 Jeremy Katz <katzj@redhat.com> * anaconda (startVNCServer): Add -once to help ensure Xnvc diff --git a/autopart.py b/autopart.py index 43995bf6c..5747694c8 100644 --- a/autopart.py +++ b/autopart.py @@ -215,8 +215,7 @@ def fitConstrained(diskset, requests, primOnly=0, newParts = None): startSec = 0L if disk.type.check_feature(parted.DISK_TYPE_EXTENDED) and disk.extended_partition: - - if (disk.extended_partition.geom.start < startSec) and (disk.extended_partition.geom.end > endSec): + if (disk.extended_partition.geom.start < startSec) and (disk.extended_partition.geom.end >= endSec): partType = parted.PARTITION_LOGICAL if request.primary: # they've required a primary and we can't do it return PARTITION_FAIL |