diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-05-23 18:54:09 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-05-23 18:54:09 +0000 |
commit | 7e53c1e379dbd1b52493e95ef031fe80cd89dda9 (patch) | |
tree | a95ac895f7415c2d911ba80db037e5479771e203 | |
parent | 2370b8457724a1ba54f49af44d0ea138dd402371 (diff) | |
download | anaconda-7e53c1e379dbd1b52493e95ef031fe80cd89dda9.tar.gz anaconda-7e53c1e379dbd1b52493e95ef031fe80cd89dda9.tar.xz anaconda-7e53c1e379dbd1b52493e95ef031fe80cd89dda9.zip |
2005-05-23 Jeremy Katz <katzj@redhat.com>
* autopart.py (partlist.getFreeSpace): Fix problem Chris and Paul
saw on Friday where manual partition growing would stop at the
size of the partition. When imposing a max size based on the free
sectors available, it should remember how big the part originally was.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | autopart.py | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2005-05-23 Jeremy Katz <katzj@redhat.com> + * autopart.py (partlist.getFreeSpace): Fix problem Chris and Paul + saw on Friday where manual partition growing would stop at the + size of the partition. When imposing a max size based on the free + sectors available, it should remember how big the part originally was. + * kickstart.py (Kickstart.setGroupSelection): Allow excluding packages based on arch (Dave Lehman, #158370) diff --git a/autopart.py b/autopart.py index b06f6d11f..e36d2e5d6 100644 --- a/autopart.py +++ b/autopart.py @@ -791,11 +791,11 @@ def growParts(diskset, requests, newParts): maxfree = largestFree[drive] if maxsect > largestFree[drive]: - maxsect = long(maxfree) + maxsect = long(maxfree) + startSize imposedMax = 1 # print "freesize, max, maxfree = ",freeSize[drive],maxsect, maxfree -# print "freeSizeMB, maxMB = ", freeSize[drive] * sector_size/(1024.0 * 1024.0), maxsect * sector_size/(1024.0*1024.0), largestFree[drive] +# print "freeSizeMB, maxMB = ", freeSize[drive] * sector_size/(1024.0 * 1024.0), maxsect * sector_size/(1024.0*1024.0), largestFree[drive] * sector_size/(1024.0*1024.0) # print "startsize = ",startSize min = startSize |