summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-03-02 18:49:30 +0000
committerJeremy Katz <katzj@redhat.com>2005-03-02 18:49:30 +0000
commit6fa37336f3e2584f5d7811f38633047e4d6f7457 (patch)
treee6b625c25c4d8229b55e99b4b72862d9efe2e03c
parentf30cceebbc5c01ba9458e31a0b64b27aabc4a906 (diff)
downloadanaconda-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--ChangeLog5
-rw-r--r--autopart.py3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 64bdd857d..f796d29f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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