summaryrefslogtreecommitdiffstats
path: root/autopart.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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)