summaryrefslogtreecommitdiffstats
path: root/autopart.py
Commit message (Collapse)AuthorAgeFilesLines
* Better naming for LVM volume groups and logical volumes (#461682)David Cantrell2008-12-031-8/+33
| | | | | | | | | | | | | | | Try to name volume groups as vg_HOSTNAME and logical volumes as lv_MOUNTPOINT, if we can. Swap partitions will be lv_swapNN where NN is a unique number in the instance where more than one swap partition in use. The / partition will get the name lv_root. Fall back on the old naming system (VolGroupNN for volume groups and LogVolNN for logical volumes) for people doing custom setup or where the hostname is localhost. For swap partition naming, tack on an NN designation when there are more than 1 swap partitions requested. If only one is requested, it will be "lv_swap".
* Fix the last pychecker warnings in masterHans de Goede2008-10-301-1/+1
| | | | Fix the last few pychecker warnings in master
* Only add LUKSDevice instances to PV requests as needed.David Lehman2008-09-151-6/+4
| | | | | | Previously, they were always added but only used if subsequently associated with a passphrase. That led to some odd hoop-jumping.
* Fix partitions growing (backport of rhbz #442628)Radek Vykydal2008-09-091-1/+1
|
* Use print() as a function.Peter Jones2008-09-081-44/+44
|
* Move all the exceptions into a single file.Chris Lumens2008-06-091-1/+1
|
* Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/anacondaPeter Jones2008-06-051-5/+6
|\
| * 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-7/+8
| | | | | | | | * po/sk.po: Typo fix.
* | Don't reference PartitioningError.value .Peter Jones2008-06-051-3/+3
| |
* | More partitioning error handling fixes (#446453).Chris Lumens2008-05-151-2/+2
|/
* Don't tag more than one request with mountpoint=/boot/efiPeter Jones2008-04-101-11/+14
|
* Use only real parted fstype names when checking parted results.Peter Jones2008-04-081-2/+7
| | | | Set fstype of efi system partition to efi, not vfat.
* Fix up ppc boot check (#438005)Jeremy Katz2008-03-181-5/+4
|
* Create and check /boot/efi correctly, and use preexisting one if available.Peter Jones2008-03-141-20/+33
|
* Revert "Handle /boot and /boot/efi separately, plus fixes"Peter Jones2008-03-141-31/+18
| | | | | | This wasn't supposed to go in yet. This reverts commit 5072d18b0a4341b358c50b2d9b51d3cb14ab4d3a.
* Handle /boot and /boot/efi separately, plus fixesPeter Jones2008-03-141-18/+31
| | | | | | Also: - fix some exception text - remove BOOT_ABOVE_1024 checking since it just ignores it anyway
* Get rid of unused >1024 cylindar check, fix text of boot check exceptions.Peter Jones2008-03-141-12/+4
|
* Make bootRequestCheck() check /each/ boot partition like it's supposed to,Peter Jones2008-03-141-26/+21
| | | | and make it a bit more readable.
* Use iutil.isEfi() instead of testing for ia64-ness.Peter Jones2008-03-041-13/+8
|
* Fix calculation of sizes of LVs when resizing (#433024)Jeremy Katz2008-02-241-1/+1
|
* Fix encrypted autopart traceback.David Lehman2008-01-081-0/+1
| | | | Deep copy the encryption member when splitting up multidrive requests since LUKSDevice instances cannot be shared between multiple devices.
* Fix error reporting messages (sfernand, #242252).Chris Lumens2007-12-181-3/+3
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-7/+14
| | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section.
* Add support for encryption via autopart.Jeremy Katz2007-12-141-0/+11
| | | | | | | | This allows autopart (of LVM) to set up encrypted PVs to be used and adds the UI for enabling that in graphical mode. It's a little bit hacky as we rely on the fact request.encryption is set and has a passphrase for this to work
* With moving partitioning, we should do a confirmation before we write thingsJeremy Katz2007-11-291-48/+0
| | | | | out to disk so do that check in partitioningComplete(). Therefore remove the queryAutoPartOK() which is superfluous
* Add infrastructure for partition resizingJeremy Katz2007-11-291-2/+24
| | | | | | | | | | We add support to preexisting partitions to be resized by adjusting their partition spec and then acting on the changes within the main partitioning engine. Keep track of what the maximum size for a preexisting partitition is so that we don't have to check in the UI Filesystems can claim to be resizable and implement the resize() method as well as the getMinimumSize() method
* fix alpha checkJeremy Katz2007-11-291-1/+1
|
* Reserve space at the beginning of the disk on alphaOliver Falk2007-11-281-0/+5
|
* no more partitioning.pyJeremy Katz2007-11-061-1/+3
|
* - Fix getMinimumSector() to actually use cylinder 1 on sun disklabels.Peter Jones2007-10-261-5/+6
|
* 2007-10-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-10-031-4/+4
| | | | * autopart.py (getAutopartitionBoot): Make boot partitions 200 megs
* Remove disabled badblocks checking code.Chris Lumens2007-08-031-5/+1
|
* Don't take into consideration drives that have been removed from the disksetChris Lumens2007-08-021-2/+4
| | | | (#250148).
* 2007-07-02 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-021-7/+7
| | | | | | | | | | | | | | | | * autopart.py: Change references of "Reboot" -> "Exit installer" to make more sense in live install case. * exception.py: Likewise. * fsset.py: Likewise. * gui.py: Likewise. * harddrive.py: Likewise. * image.py: Likewise. * packages.py: Likewise. * upgrade.py: Likewise. * urlinstall: Likewise. * yuminstall.py: Likewise. * livecd.py (LiveCDCopyBackend.doRepoSetup): Add mnemonics
* Removing items from a list you're iterating over confuses python (#235279).Chris Lumens2007-04-041-2/+12
|
* * 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.