summaryrefslogtreecommitdiffstats
path: root/autopart.py
Commit message (Collapse)AuthorAgeFilesLines
* * autopart.py (doPartitioning): String fixes (#208394).David Cantrell2007-03-151-1/+1
|
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | protected partitions (#220331) * autopart.py (doClearPartAction): clear all non-protected partitions from disks that contain a protected partition IFF initAll is set * partedUtils.py (hasProtectedPartitions): new method to check if a drive contains protected partitions * packages.py (writeRegKey): method to write out regkey * dispatch.py: add writeregkey step * installclass.py (BaseInstallClass): add regkey fields and step * instdata.py: include regkey settings in anaconda-ks.cfg * packages.py (regKeyScreen): allow access to regkey screen while moving backwards (#219361) * installclasses/rhel.py: add support for real regkeys (via instnum)
* * autopart.py (doAutoPartition): Add space before %s in error dialogDavid Cantrell2007-02-131-1/+1
| | | | text (#228192).
* Didn't mean to commit that.Chris Lumens2007-01-311-2/+0
|
* Don't set up the default partitions if we're on a kickstart install. autopartChris Lumens2007-01-311-0/+2
| | | | will handle that for us.
* - use a per-arch minimum starting sector for partitionsPeter Jones2007-01-091-2/+8
|
* Fix traceback when all space is in use (ddearauj AT us.ibm.com, #213616).Chris Lumens2006-11-061-7/+9
|
* Avoid a traceback when we see PReP partitions on disks that aren't being usedChris Lumens2006-11-061-1/+5
| | | | (#211098).
* Don't try to clear drives that are in the skippedList either.Chris Lumens2006-11-011-2/+4
|
* Reset protected partitions list when there are problems partitioning (#204405).Chris Lumens2006-10-031-0/+1
|
* Some minor partitioning cleanups suggested by pychecker.Chris Lumens2006-06-221-9/+5
|
* 2006-06-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-211-1/+1
| | | | * autopart.py (getDriveList): Sort drive list "correctly"
* 2006-06-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-101-1/+2
| | | | | | * autopart.py (doClearPartAction): Clear partition on mactels if it doesn't have a filesystem so that we can do auto-partitioning on them.
* Get rid of a nonsensical error message that tells you to go back to a screenChris Lumens2006-06-091-4/+2
| | | | that no longer exists.
* Simplify error handling and return values. A lot of these functions don'tChris Lumens2006-06-091-46/+21
| | | | | need to return anything, since raising an exception accomplishes the same thing.
* More along the same exception raising/handling lines.Chris Lumens2006-06-081-12/+12
|
* Display a better error message if there's not enough space for the requestedChris Lumens2006-06-081-13/+16
| | | | partitioning (#181571).
* Make all UI steps use anaconda class. Add system-config-keyboard shim.Chris Lumens2006-05-041-5/+5
|
* Start to use the anaconda class instead of passing around references toChris Lumens2006-05-031-28/+28
| | | | lots of other objects.
* Get ready for a surprise...David Cantrell2006-03-241-5/+6
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.
* Use lvmLog instead of log.Chris Lumens2005-11-091-19/+19
|
* Whoops, that one was inverted.Chris Lumens2005-11-031-1/+1
|
* Use "not X" instead of "X is not None".Chris Lumens2005-11-031-4/+4
|
* 2005-08-16 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-08-161-2/+3
| | | | | | | | | * autopart.py (autoCreatePartitionRequests): Fix for autopart with not lvm (msw@rpath.com) 2005-08-15 Chris Lumens <clumens@redhat.com> * anaconda.spec: Bump version.
* Convert to using new logging system. Also use a separate logger for theChris Lumens2005-08-111-44/+40
| | | | | LVM grow debugging code. Perhaps this could be worked in as another command line arg in the future? No, that seems like a bad idea.
* 2005-07-08 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-07-081-1/+2
| | | | | * autopart.py (doAutoPartition): Fix from lxo for clearpart --none (#162445)
* Make it so disks that are totally full of nonremovable partitions aren'tPeter Jones2005-05-241-1/+22
| | | | selected to put partitions on.
* 2005-05-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-05-231-2/+2
| | | | | | | * 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.
* Also remove bogus preexisting RAID information when doing kickstart installs.Chris Lumens2005-05-061-3/+11
|
* 2005-05-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-05-051-10/+20
| | | | | | | | * fsset.py (HfsPlusFileSystem.__init__): Add hfs+ support. * autopart.py (growParts): Don't try to grow a partition beyond the size of the largest free space. Fixes pathological problem hit when installing a dual boot with MacOS X.
* Allow the resulting string to be put into a call to rhpl.log.Chris Lumens2005-05-031-7/+19
|
* Copy filesystem options over for preexisting partitions so they show up inChris Lumens2005-04-211-0/+8
| | | | /etc/fstab (#97560).
* update copyright statements, like a good little corperate stooge ;)Peter Jones2005-03-071-1/+1
|
* comment out new log events that are only marginally helpfulPeter Jones2005-03-071-1/+6
| | | | clamp each LV's max size, initial size, and growth amounts to pesize
* * autopart.py: fix growable size log to show IDs instead of python'sPeter Jones2005-03-071-2/+7
| | | | | | | | | | | | | | | | | | | | <instance> info. log how much free space we're starting with. don't clamp an lv's total size, instead clamp pv's sizes appropriately * lvm.py: remove and recreate all PVs when we do a vgremove, so they don't lose 1 PE each time due to an lvm2 bug. log what lvm commands are being run, since that doesn't go into lvmout. log total vs actual in getVGFreeSpace * partRequests.py: get rid of getPVSize, that way can't work (oopsie). remove bogus check in getActualSize. clamp totalspace for preexisting PVs. clamp each PV's size and trim 1 PE off when computing total space. don't clamp the LV's overall size. * iw/lvm_dialog_gui.py: clamp each PV and trim 1 PE when computing availSpaceMB. Ow. My head hurts. But autopartition actually works, and even shows the same numbers as the editor afterwards.
* Revert some more mac changes - fix parted insteadPaul Nasrat2005-02-211-1/+2
|
* Revert API changePaul Nasrat2005-02-201-1/+1
|
* Fedora PPC - autopartitioning (#121266) and G5 (#149081)Paul Nasrat2005-02-191-6/+8
|
* Typo fix from Aldy Hernandez.Peter Jones2005-02-181-1/+1
|
* Properly grow logical partitions in cases where there's more than one volumeChris Lumens2005-01-201-2/+2
| | | | group defined (Potential fix for #144280, #145145).
* Allow logical partitions to go all the way to the end of the extendedChris Lumens2005-01-191-2/+2
| | | | partition. (Potential fix for #101432).
* 2004-11-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-301-0/+3
| | | | | | * autopart.py (setPreexistParts): Fix handling of existing partitions on drives which don't have a partition table we understand (#131333)
* Fix LVM with add new in autopartitioning (#141268)Paul Nasrat2004-11-291-2/+2
|
* 2004-11-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-031-2/+2
| | | | | | | | | * autopart.py (getAutopartitionBoot): Use iutil.hasiSeriesNativeStorage instead of iutil.hasIbmSis() * partitions.py (Partitions.sanityCheckAllRequests): Likewise. * iutil.py (hasiSeriesNativeStorage): Rename from hasIbmSis(), check for ipr as well as ibmsis.
* 2004-10-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-191-6/+19
| | | | | | | | * autopart.py (doAutoPartition): Don't hard code VG name for auto-partitioned volume groups as VolGroup00 (#134263) * partRequests.py (VolumeGroupRequestSpec.__init__): Add autoname hack for autopart + lvm.
* 2004-10-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-121-1/+4
| | | | | * autopart.py (doAutoPartition): Be more certain we have one of "our" LVM partitions (#135440)
* 2004-09-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-09-281-0/+2
| | | | | * autopart.py (doAutoPartition): Fix LVM traceback if going back from not enough space (#131325)
* improve our request size checking so that filling the disk works "correctly".Jeremy Katz2004-08-251-1/+5
| | | | patch from stuart hayes AT dell (#130885)
* more boot disk message killing (#129009)Jeremy Katz2004-08-101-1/+2
|
* don't reuse existing pvs on drives that we're not using for auto-partitioningJeremy Katz2004-07-071-1/+12
|