summaryrefslogtreecommitdiffstats
path: root/installclass.py
Commit message (Collapse)AuthorAgeFilesLines
* BugzillaFiler.__init__ now requires a bugUrl, version, and product.Chris Lumens2009-07-291-2/+4
|
* Fix discovery of existing raid/lvm for ks install without clearpart ↵Radek Vykydal2009-06-051-8/+1
| | | | | | | | | | | | | | | | | (#503310) (#503681) Default clearPartType to None so that all devices are discovered during storage initialization step, and UI parttype can be set to its default "Replace existing linux system". Also set clearPartType appropriately when going back from partition dialog so that all devices are discovered during storage reset. There is one case that can't be resolved this way: clearpart --all or --linux is set in ks and "Create custom layout" is selected in parttype UI step. Because of ks setting, storage initialization doesn't discover devices (RAID, LVM) on partitions that are to be cleared and therefore they are not present in custom partition dialog. This can be workarounded by going back and than again to custom partitioning dialog. I think we should grey-out type of partitioning combo set to value from ks clearpart command.
* Use PartSpec in the auto partition request list, and assign weights to them.Chris Lumens2009-03-301-2/+5
| | | | | Also, add a weight method to the Platform classes and have it return an integer for whatever fstype or mountpoint is provided.
* Make sure autopart without any clearpart command will fail.Chris Lumens2009-03-061-0/+2
| | | | | | | The crucial step here is making sure we set clearPartType to NONE in setDefaultPartitioning when called with doClear=False. That's what we pass in from the autopart kickstart command handler, and that's what forces you to have to use clearpart if you want to remove existing partitions.
* Merge branch 'master' into storageDavid Lehman2009-03-041-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-0/+1
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
| * Remove unnecessary import lines.David Cantrell2009-02-231-1/+0
| | | | | | | | pychecker fix.
* | Specify the filesystem type in the autopart requests.David Lehman2009-02-271-1/+1
| |
* | Fix calls to getAutopartitionBoot, calling the platform's code instead.Chris Lumens2009-02-271-3/+3
| |
* | Use correct attributes of storage for clearpart type and disks.David Lehman2009-02-271-6/+3
| |
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* | Remove format flag from autorequest tuple since it's always True.David Lehman2009-02-231-3/+3
| |
* | Updates to make existing code use the new storage module.David Lehman2009-02-231-9/+8
|/
* Encode our upgrade policy in productMatches/versionMatches and enforce it.Chris Lumens2009-02-161-0/+9
| | | | | | | For Fedora, this means we will not allow upgrades of detected root filesystems more than two releases old, or "upgrading" a newer install with an older one. For RHEL, we don't yet know what to do so just allow things to continue as they always have. Using "upgradeany" still circumvents this check.
* Make ext4 default in UI filesystem selection (bug #481112)Radek Vykydal2009-02-031-1/+1
| | | | | | This patch also makes selecting /boot as mountpoint to automatically select ext3 (in place of ext4) in filesystem combo.
* Default / to be ext4Jeremy Katz2009-01-191-1/+1
|
* Fix syntax error in yuminstall.py, fix pychecker warnings.David Cantrell2008-08-271-1/+0
| | | | | | Add missing ':' to if statement in yuminstall.py Remove 'import os,string' from security.py Remove 'networkdevicecheck' from installclass.py
* Expert mode was disabled in 2004. Remove it now.Chris Lumens2008-08-141-3/+3
|
* Support an abstract bug filing layer.Chris Lumens2008-07-221-0/+3
| | | | | | | | Different products and distributions could support completely different bug filing system (or none at all, for that matter) so support an abstraction that allows us to use multiple kinds of bug files. We still need to commit that abstraction somewhere and also make sure we allow full customization through the product.img.
* Don't continue on using the base installclass if we can't find oneJeremy Katz2008-06-231-2/+1
| | | | | This avoids the problem of our imports failing due to typos and then getting weird behavior non-obviously later
* Don't pass methodstr into the backend and instdata.Chris Lumens2008-06-181-1/+1
|
* Remove support for RHupdates. updates.img is the way to go now.Chris Lumens2008-06-181-2/+0
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-273/+25
| | | | * po/sk.po: Typo fix.
* Preserve 'set the hostname' setting when going Next/Back (#443414)David Cantrell2008-04-251-1/+1
| | | | | | | | | | Better fix for #408921. Using network.overrideDHCPhostname to set the default behavior of requiring users to set a hostname. If the user changed that to 'use DHCP', clicked Next, then clicked Back, the network configuration screen would be back at manual for the hostname. Fixed that by honoring overrideDHCPhostname. Also took the opportunity to make overrideDHCPhostname a boolean since that's how we are using it.
* more mouse-related removalsBill Nottingham2008-03-271-10/+0
|
* Be a little smarter about downloading repo metadata (#437972).Chris Lumens2008-03-241-3/+0
|
* Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/anacondaPeter Jones2008-03-141-0/+4
|\
| * The xconfig command with no X running doesn't make sense.Chris Lumens2008-03-131-0/+4
| |
* | Call getAutoPartitionBoot with our partition list as an arg.Peter Jones2008-03-141-1/+1
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/anacondaBill Nottingham2008-02-111-1/+1
|\
| * Fix test mode with python-fedora installedJeremy Katz2008-02-051-1/+1
| | | | | | | | | | We need to prepend the installclass path to the pythonpath like we do the rest of our module paths
* | Use /etc/adjtime as the configuration file for UTC/not-UTC.Bill Nottingham2008-02-111-2/+2
|/ | | | Also, remove ARC support while we're here - it's pointless.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-10/+17
| | | | | | 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.
* getBackend expects a methodstr argument.Chris Lumens2007-12-101-1/+1
|
* Fix up the livecd to no longer use an InstallMethod.Chris Lumens2007-12-051-0/+3
|
* methodstr cleanups.Chris Lumens2007-12-051-1/+1
| | | | | | Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount whatever contains the images, and /mnt/source is always the source mount point. Also don't use methodstr where we don't have to.
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-19/+0
| | | | | | Remove method references from the Anaconda object, along with various support functions that import methods and return instances of methods. This also removes method instances from the backend.
* Remove base InstallMethod class and harddrive.py and urlinstall.py files.Chris Lumens2007-12-051-3/+0
| | | | | | This commit removes the base InstallMethod class without removing the users in other files, so obviously this commit cannot stand alone. installmethod.py and image.py at the very least still need significant changes.
* import isys (#390141)Jeremy Katz2007-11-191-0/+1
|
* no more partitioning.pyJeremy Katz2007-11-061-1/+0
|
* Pass the bootloader --timeout= parameter from pykickstart along to booty.Chris Lumens2007-10-191-1/+9
|
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-1/+1
|
* If we did a kickstart install, use the %packages section from the ks fileChris Lumens2007-09-041-1/+1
| | | | instead of creating a new one.
* Add the --only-use option to specify which disks should be used. This is theChris Lumens2007-07-161-2/+8
| | | | opposite operation from ignoredisk --drives (#198526).
* 2007-06-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-06-041-1/+2
| | | | | | * installclass.py (BaseInstallClass.setSteps): Permanently skip task selection and group selection if our backend doesn't support package selection (#242083)
* * image.py (CdromInstallMethod.__init__): don't nuke the timestampdlehman2007-06-041-2/+7
| | | | | | | | | | | | when getDiscNums fails * installclass.py (BaseInstallClass.getPackagePaths): make the return dict's values always be lists of URIs * yuminstall.py (AnacondaYum.doConfigSetup): make conf.reposdir a list like in yum * scripts/mk-images: make sure the MBD_FSIMAGE dir doesn't pre-exist
* 2007-04-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-041-1/+1
| | | | | | | | | * livecd.py (LiveCDImageMethod.postAction): Unmount filesystems in the live case before continuing on. * installclass.py (BaseInstallClass.postAction): Call the method postAction * installmethod.py (InstallMethod.postAction): Add a method to be called in post action for unmounting things in the live case
* 2007-03-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-231-3/+12
| | | | | * anaconda (getInstClass): Don't duplicate code (Elliot Peele) * installclass.py (getBaseInstallClass): Likewise.
* That comment is no longer relevant.Chris Lumens2007-03-081-3/+1
|
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-1/+3
| | | | | | | | | | * backend.py (AnacondaBackend.initLog): Don't open the install log twice (Elliot Peele) * installclass.py (availableClasses): Log a warning when there's an error loading an installclass; raise it in debug mode (Elliot Peele) * exception.py: rpm import not used (Elliot Peele)