summaryrefslogtreecommitdiffstats
path: root/installmethod.py
Commit message (Collapse)AuthorAgeFilesLines
* Add mediaPresent and eject to the OpticalDevice class.Chris Lumens2009-03-131-3/+3
| | | | | | | These no longer belong in isys.py as putting them in the classes is much more correct. I also put a mediaPresent method on Device in general. This will come in handy when we start dealing with USB CF readers and similar devices that can be present without having media.
* Fix grabbing the rootDevice in doMethodComplete.Chris Lumens2009-03-041-1/+1
|
* Updates to make existing code use the new storage module.David Lehman2009-02-231-3/+3
|
* Don't traceback at the end of live installsJeremy Katz2008-09-101-1/+1
| | | | Live installs don't have a stage2, so don't traceback looking at the attr
* Eject the CD/DVD if we booted off a boot.iso as well (#442088).Chris Lumens2008-08-041-3/+17
|
* Make doMethodComplete not depend on the yum backendJeremy Katz2007-12-171-17/+1
| | | | | Move backend specific bits of method complete into a backend.complete() method to avoid tracebacks with installs on other backends
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-6/+13
| | | | | | 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.
* Don't copy the stage2 image over for NFS installs.Chris Lumens2007-12-141-1/+1
|
* Don't try and make devices. Adjust calls as necessary.Bill Nottingham2007-12-071-1/+1
|
* 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.
* Make split media image installs work.Chris Lumens2007-12-051-2/+2
| | | | | | | | Rework image.py into a support file with no InstallMethod subclasses in it. Move the media switching code into a yum callback and make sure our base repos have the correct attribute set to trigger using this callback. Be more careful to only attempt ejecting a CD when we're using a method that has a CD device.
* Remove base InstallMethod class and harddrive.py and urlinstall.py files.Chris Lumens2007-12-051-65/+18
| | | | | | 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.
* fix traceback at the end of installJeremy Katz2007-11-291-0/+2
|
* Move protected partitions into the Partitions object.Chris Lumens2007-11-281-9/+0
|
* Remove the ejectCD method as it's redundant.Chris Lumens2007-11-201-5/+1
|
* Remove unused functions from InstallMethods.Chris Lumens2007-11-201-38/+0
| | | | | | None of the following functions were even being called, so they can be removed easily: getFilename, copyFileToTemp, urlretrieve, systemUnmounted, getTempPath, and FileCopyException. Now only the hard parts are left.
* One "disc" media is just a special case of multiple discs.Chris Lumens2007-08-131-1/+0
|
* 2007-08-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-131-6/+0
| | | | | | | | | * yuminstall.py (AnacondaYum._handleFailure): Don't use a method specific string that's 99% the same. Instead, just make the string work for everything. * installmethod.py (InstallMethod.badPackageError): Remove * image.py (badPackageError): Likewise. * urlinstall.py (badPackageError): Likewise.
* 2007-08-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-131-5/+0
| | | | | | | | * yuminstall.py (AnacondaCallback): Remove without using the installmethod's unlinkFilename * image.py (unlinkFilename): Remove method * installmethod.py (unlinkFilename): Remove * urlinstall.py (unlinkFilename): Remove
* Add API documentation to a couple files as examples.Chris Lumens2007-07-271-14/+66
|
* Set default value to an empty list instead of None.Chris Lumens2007-07-231-1/+1
|
* If this is a kickstart install, don't eject the CD at this time. The user willChris Lumens2007-05-041-6/+8
| | | | have to specify --eject in their kickstart file now (#238711, #239002).
* 2007-04-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-041-0/+5
| | | | | | | | | * 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
* Add switchMedia to abstract class.Chris Lumens2006-05-251-0/+3
|
* Consolidate file fetching error handling into one set of urlgrabber errorChris Lumens2006-05-251-0/+3
| | | | callbacks. Allow retrying when the error dialog is displayed (#183974).
* Unmount media late so it's still available for kickstart %post scriptsChris Lumens2006-05-151-0/+1
| | | | (#191381).
* Remove more old stuff.Chris Lumens2006-05-081-19/+0
|
* Kill getRPMFilename.Chris Lumens2006-05-081-3/+0
|
* Finish making non-UI steps pass around the anaconda object.Chris Lumens2006-05-041-4/+4
|
* * image.py, installmethod.py: getRPMFilename takes a media numberChris Lumens2005-11-171-1/+1
| | | | | | | | instead of a header obj. Use currentMedia everywhere. Add switchMedia method for images. * sortedtransaction.py: Handle AttributeError. Logic fixes. * yuminstall.py: Move _getcd to top level. Use package objs instead of headers. Handle transactions per-media image.
* Generate headers on split media methodsPaul Nasrat2005-11-151-0/+1
|
* Change getRPMFileName signature, use in callbackPaul Nasrat2005-11-151-1/+1
|
* Remove legacy metadata handingPaul Nasrat2005-11-151-6/+3
|
* remove backend specifics from methodPaul Nasrat2005-08-261-1/+0
|
* Simplify findBestFileMatchPaul Nasrat2005-08-191-4/+5
|
* Remove legacy comps readingPaul Nasrat2005-08-191-17/+1
|
* Use new logging system.Chris Lumens2005-08-121-4/+5
|
* 2005-04-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-281-9/+4
| | | | | * installmethod.py (doMethodComplete): Figure out rootfs better * dispatch.py (installSteps): Pass id.fsset to methodcomplete.
* write an mtab with some basic info when we're done installingPeter Jones2005-04-281-0/+14
|
* 2005-04-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-261-2/+2
| | | | | | | | | | | | | | | | * image.py (CdromInstallMethod.getRPMFilename): Beep if we need to insert a new CD (#109264) * harddrive.py (HardDriveInstallMethod.__init__): Do method parsing here instead of in anaconda. Pass intf down. * image.py (ImageInstallMethod.__init__): Likewise. * image.py (CdromImageInstallMethod.__init__): Likewise. * image.py (NfsInstallMethod.__init__): Likewise. * image.py (NfsISOInstallMethod.__init__): Likewise. * installmethod.py (InstallMethod.__init__): Likewise. * urlinstall.py (UrlInstallMethod.__init__): Likewise. * anaconda: Make method __init__'s all basically act the same
* having the constant present helpsJeremy Katz2003-10-141-0/+1
|
* read product path from the build stamp if possible, default to RedHat if notJeremy Katz2003-10-141-2/+2
| | | | available. basically notting's patch with some fixes and genhdlist handled
* merge changes from taroon branchJeremy Katz2003-08-201-1/+1
|
* merge from taroon branch to headJeremy Katz2003-07-311-1/+2
|
* Changed how we acquire release notes so that we now try to pull it for all ↵Mike Fulbright2003-06-261-1/+4
| | | | install methods. Have tested on all installmethods but CDROM. Only shortcoming presently is 1) It mount/umount the HD image loopback alot of times in process finding the matching file for your lang (we try lots of variations), and 2) lots of IOError warnings on VC3 for HTTP installs for same reason.
* merge from taroon branch to HEAD. mostly the package stuff, but alsoJeremy Katz2003-05-201-3/+3
| | | | msw's ctrl-alt-del thing and some arch fixups
* adjust function parameter to allow for possibility of callback, although not ↵Mike Fulbright2003-04-141-1/+1
| | | | used for these methods yet
* eject the cdrom from the second stage via a generic cleanup so that itJeremy Katz2002-12-161-0/+9
| | | | | gets ejected when we tell people to remove their media instead of waiting until the very very end. and now we don't eject on network installs either :)
* add FileCopyException to be used when we have IO errors grabbing packagesJeremy Katz2002-11-041-0/+4
| | | | | | or when pulling packages from a remote site. also, fix ts.setProbFilter
* use file:/// for file urls to make urllib2 happy (this method is only used ↵Jeremy Katz2002-11-041-2/+2
| | | | for finding the comps file, so it's safe to do this)