summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove base InstallMethod class and harddrive.py and urlinstall.py files.Chris Lumens2007-12-051-133/+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.
* Remove unused functions from InstallMethods.Chris Lumens2007-11-201-118/+1
| | | | | | 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.
* Fix a couple syntax errors.Chris Lumens2007-10-261-4/+2
|
* Don't log a critical error message if we can still retry (Steve FernandChris Lumens2007-10-241-8/+14
| | | | <sfernand AT redhat DOT com>, #350251).
* 2007-08-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-131-8/+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-2/+0
| | | | | | | | * yuminstall.py (AnacondaCallback): Remove without using the installmethod's unlinkFilename * image.py (unlinkFilename): Remove method * installmethod.py (unlinkFilename): Remove * urlinstall.py (unlinkFilename): Remove
* 2007-07-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | * fsset.py (allocateLoopback): Use /dev/loopX instead of /tmp/loopX * urlinstall.py (UrlInstallMethod.systemMounted): Use /dev/loop0 instead of /tmp/loop. (UrlInstallMethod.systemUnmounted): Likewise. * rescue.py (runRescue): Loop devices made generally now. * harddrive.py (HardDriveInstallMethod.mountMedia): Use /dev/loop3 instead of /tmp/loop (HardDriveInstallMethod.umountMedia): Likewise. * image.py (CdromInstallMethod.systemUnmounted): Use /dev/loop0 instead of /tmp/loop (CdromInstallMethod.systemMounted): Likewise. (NfsIsoInstallMethod.mountImage): Likewise for /dev/loop3 (NfsIsoInstallMethod.umountImage): Likewise. (findIsoImages): Likewise for /dev/loop2. * iutil.py (makeDriveDeviceNodes): Make loop devices.
* * urlinstall.py (UrlInstallMethod.filesDone): don't log errors whendlehman2007-07-111-2/+2
| | | | | | | | | | | | | | unmounting /mnt/source since it wasn't necessarily supposed to be mounted in the first place (#223059) * gui.py (InstallKeyWindow): handle F12 shortcut key (#210673) * iutil.py (makeDriveDeviceNodes): create device nodes for tape drives (#218816) * isys/isys.py (tapeDriveList): new function to list tape drives * isys/isys.py (driveDict): probe for tape drives, too
* 2007-07-02 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-021-1/+1
| | | | | | | | | | | | | | | | * 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
* Remove call to removed function (#244528).Chris Lumens2007-06-181-2/+0
|
* Split loopback ISO method is no longer supported. Good riddance.Chris Lumens2007-06-121-57/+2
|
* Use "disc" instead of "CD" in dialogs (#242830).Chris Lumens2007-06-061-2/+2
|
* 2007-04-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-121-1/+3
| | | | | | | | | * urlinstall.py (UrlInstallMethod.systemMounted): Don't copy stage2.img if we can't find it * image.py (CdromInstallMethod.systemMounted): Likewise. * anaconda (setupEnvironment): Make sure we have /sbin and /usr/sbin in our path
* * urlinstall.py: unmount cdrom after installation when usingdlehman2006-12-081-0/+86
| | | | local stage2 with http install
* Fix traceback that was hiding a real error.Chris Lumens2006-12-011-2/+2
|
* - replace url iso tree scanning code with something that checks to seePeter Jones2006-11-211-6/+23
| | | | | if a tree is really there at all, and iterates from 1 to N until it doesn't find .discinfo (#214787).
* Use disc url and split media style install for ftp/http loopback mount setupsPaul Nasrat2006-11-031-1/+5
| | | | (#212014)
* Set self.splitmethod if it's a split ISO method, as this seems to decrease theChris Lumens2006-10-311-0/+2
| | | | number of retry errors.
* Be smarter about finding ISO loopback mount points and setting up baseUrlChris Lumens2006-10-161-1/+1
| | | | for yum.
* Fix loopback mount url installsPaul Nasrat2006-10-051-6/+0
|
* Attempt to support loopback url mounts (#207904) and related cleanup ofPaul Nasrat2006-09-251-25/+48
| | | | urlinstall.
* Don't traceback if path is simply "/" (#202368).Chris Lumens2006-08-151-1/+1
|
* * urlinstall.py (UrlInstallMethod.__init__): Set self.currentMediaDavid Cantrell2006-08-081-0/+2
| | | | to [] (#201722).
* * loader2/urls.c (urlinstStartTransfer): Determine address familyDavid Cantrell2006-07-261-28/+20
| | | | | | | | | | | | | | | | | | and pass that to the ftpOpen() call. * urlinstall.py (UrlInstallMethod.__init__): Use urlparse. * isys/dns.c, isys/dns.h: Updated for IPv6 support. * loader2/Makefile: Cleanups. * loader2/ftp.c, loader2/ftp.h: Updated for IPv6 support. * loader2/loader.c: Whitespace consistency. * loader2/method.c: Whitespace consistency. * loader2/urls.c: Updated for IPv6 support.
* Consolidate file fetching error handling into one set of urlgrabber errorChris Lumens2006-05-251-0/+8
| | | | callbacks. Allow retrying when the error dialog is displayed (#183974).
* Don't import something we're not using.Chris Lumens2006-05-081-2/+1
|
* Kill getRPMFilename.Chris Lumens2006-05-081-6/+0
|
* * urlinstall.py: Remove some traceonly mode stuff.David Cantrell2006-04-181-9/+0
|
* Fix up URL install methods by correcting media image number handling.Chris Lumens2005-11-171-2/+2
|
* Change getRPMFileName signature, use in callbackPaul Nasrat2005-11-151-2/+2
|
* Use getMethodUri to configure backendPaul Nasrat2005-11-151-1/+3
|
* Remove legacy metadata handingPaul Nasrat2005-11-151-7/+0
|
* Remove legacy metadata handingPaul Nasrat2005-11-151-37/+0
|
* Simplify findBestFileMatchPaul Nasrat2005-08-191-1/+1
|
* Remove legacy comps readingPaul Nasrat2005-08-191-1/+1
|
* Use new logging system.Chris Lumens2005-08-121-7/+9
|
* 2005-04-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-261-4/+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
* 2005-03-29 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-03-291-1/+1
| | | | * urlinstall.py (UrlInstallMethod.__init__): Likewise.
* 2005-02-02 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-02-021-1/+1
| | | | | | * urlinstall.py: Fix urlgrabber import up * kickstart.py: Likewise. * hdrlist.py (groupSetFromCompsFile): Likewise.
* Use urlgrabber for retrieving files instead of urllib2 directly.Chris Lumens2005-02-021-33/+13
|
* 2004-10-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-151-2/+2
| | | | | * urlinstall.py: Replace "%" in urls with "%%" to avoid format string problems (#135929)
* fix future warnings (#117964)Jeremy Katz2004-05-071-2/+2
|
* read product path from the build stamp if possible, default to RedHat if notJeremy Katz2003-10-141-4/+5
| | | | available. basically notting's patch with some fixes and genhdlist handled
* getFilename ended up going for disc1/disc2/RedHat/RPMS/n-v-r.a.rpm insteadJeremy Katz2003-07-241-9/+10
| | | | of disc2/RedHat/RPMS/n-v-r.a.rpm (#100403)
* Changed how we acquire release notes so that we now try to pull it for all ↵Mike Fulbright2003-06-261-16/+26
| | | | 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-2/+2
| | | | msw's ctrl-alt-del thing and some arch fixups
* another taroon merge. tagged before as before-taroon-merge, after asJeremy Katz2003-04-241-11/+23
| | | | | | | | after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups.
* handle special case for 0 length fileMike Fulbright2003-04-141-0/+4
|
* handle download status for http/ftpMike Fulbright2003-04-141-6/+42
|
* fix for bug #87867 - some ftp servers dont get a content-length when ↵Mike Fulbright2003-04-041-23/+1
| | | | accessed via urllib2 apparently