summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't try to unmount the CD before we later unmount the CD (#515564).Chris Lumens2009-08-051-6/+3
| | | | | | | Doing so can only result in two things: (1) /mnt/source has been removed so teardown will fail, or (2) there's no media to eject the second time. While I'm at it, also fix copying the media.repo file to the right location.
* And finish off the removal of rhplJeremy Katz2009-07-291-2/+1
| | | | | Finish off removing the symlinking and requirements for rhpl in anaconda.
* Most windows no longer need an anaconda argument, since the intf has that.Chris Lumens2009-07-291-7/+7
|
* unmountFilesystems -> umountFilesystems (#510970).Chris Lumens2009-07-241-1/+1
|
* Disable devel repos on release (#503798)Jeremy Katz2009-07-231-0/+6
| | | | | We don't want to have rawhide listed as a repo once we disable betanag. This is a little bit hard-coded, but probably okay
* Lots of small grammar and wording changes.Peter Jones2009-07-131-1/+1
| | | | Just auditing the world for clarity, don't mind me.
* Edit user-visible dialogs for style.Peter Jones2009-07-131-12/+12
| | | | | We have lots of strings that we display to users which are unclear or contain poor usage and grammar. That's bad.
* Clean yum caches following preupgrade, too (#503096).Chris Lumens2009-07-101-2/+2
|
* Remove some unnecessary code.Chris Lumens2009-07-091-10/+2
|
* Use a method yum provides, rather than inventing our own.Chris Lumens2009-07-091-11/+6
|
* Remove _catchallCategory. yum handles this for us now.Chris Lumens2009-07-091-25/+0
|
* Make sure to have "self" as an argument.Chris Lumens2009-07-081-1/+1
|
* Use the yum preconf object to do $releasever substitution.Chris Lumens2009-07-081-10/+6
|
* Clean up some arch code.Bill Nottingham2009-07-071-3/+2
| | | | | Just use rpmUtils's definition of multilib arches, and we no longer set ppc64iseries/ppc64pseries.
* no "rhgb quiet" on s390 to enable visible boot progress and system ↵Steffen Maier2009-07-061-4/+5
| | | | | | | | | automation (#509881) Anaconda appends "rhgb quiet" to the bootloader's kernel arguments. On s390x, there is not graphical console. A console of type line mode is most common. Even more so, it's not uncommon to do system automation based on the guest OS's console output. Therefore, allow full output of kernel boot messages on the console.
* Update code that checks for devices that contain install media.David Lehman2009-07-011-6/+3
|
* Include yum.log in anacdump.txt too.Radek Vykydal2009-06-241-1/+1
| | | | | | Also decrease yum debug log detail. Related commit introducing yum.log is 96999a5ba329b41bf555ab945a4749755b97c974.
* Log yum messages.Radek Vykydal2009-06-181-1/+27
| | | | | Overrides base class function: sets handlers for "yum" and "yum.verbose" - loggers that yum is using. Logs into tty3 and with more detail into yum.log.
* Remove problem packages before attempting a re-download (#501887).Chris Lumens2009-06-101-0/+3
|
* Remove the name check on driver disk packages (#472951).Chris Lumens2009-06-051-10/+4
| | | | | | | Driver packages can now include a version number or other random information in the Name part of the NEVRA, so we can't count on the name matching kmod-drivername-ext anymore. Luckily, driver RPMs now include more sensible Provides: so we no longer require the extra name check.
* Use gettext.ldngettext when necessary (#467603)David Cantrell2009-06-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i18n people have suggested using ngettext when we need to have singular and plural forms of strings, where the count will vary as to what we are reporting to the user. I've made the changes they have suggested. I created a new lambda function called P_() to use for the plural cases. P_() takes in three parameters: 1) The singular form of the string. 2) The plural form of the string. 3) A count. Here's an example: ....some loop runs doing stuff bytesWritten = 47 msg = P_("Wrote %d byte.", "Wrote %d bytes.", bytesWritten) % (bytesWritten,) print msg The % substitution is correct at the end because P_() returns a single string, so we only need the format string to account for that. Some strings have been changed slightly to make it easier for translations to other languages, particularly when choosing plural forms.
* Fix an error when editing an unreachable repo (#503454).Chris Lumens2009-06-011-2/+3
| | | | | | In certain cases, calling getRepo on "InstallationRepo" causes a RepoError. When we catch that, we don't set the repo value to anything, so a traceback results. Instead we need to fix the fix for creating a new repo.
* We no longer write out /etc/rpm/platform, so don't offer to upgrade it.Chris Lumens2009-06-011-2/+2
|
* Fix the arch upgrade check in yuminstall.py, too (#498280).Chris Lumens2009-04-301-1/+8
| | | | | The real fix for this would involve removing one of the two upgrade checks we have, but that's too much too soon to the final release of F11.
* Move _resetRpmDb into iutil so we can access it everywhere.Chris Lumens2009-04-301-11/+4
|
* Fix the kernel package selection on ppc64 machines (#497264).Chris Lumens2009-04-281-1/+1
| | | | | | On SMP ppc64 machines, we need to install kernel.ppc64 instead of kernel-smp.ppc. There is no kernel-smp.ppc64 because that's provided by kernel.ppc64, so skip looking for any kernel-smp package on ppc64.
* When catching an OSError, handle it as an object instead of a tuple (#497374).Chris Lumens2009-04-231-2/+2
|
* Clean up rpmdb locks at the end of the install (#496961)Jeremy Katz2009-04-231-0/+4
|
* Fix up the other caller of unmountCD to pass in a device (#493537).Chris Lumens2009-04-021-1/+3
|
* Fix the check for if there's enough space available on / and /usr (#492614).Chris Lumens2009-04-011-8/+1
|
* Revert "Port the dlabel feature from RHEL (#489314)"David Cantrell2009-03-241-1/+1
| | | | | | | This reverts commit 16632332b3a49994edf0016a3c5c3200d32cf6ac. This patch calls doMultiMount(), which no longer exists. It also references ddFsTypes, which looks to not exist either.
* Use the mount and unmount methods on OpticalDevice.format now.Chris Lumens2009-03-241-9/+10
|
* Port the dlabel feature from RHEL (#489314)Martin Sivak2009-03-241-1/+1
|
* Let mountFilesystems handling bind mounting /dev (#490772).Chris Lumens2009-03-231-8/+0
|
* If there was an exception leading to the urlgrabber error, log it.Chris Lumens2009-03-231-1/+4
|
* Use booleans in isys.mount() and isys.umount()David Cantrell2009-03-181-5/+5
| | | | Use True/False over 1/0. It's the future.
* Simplify kernel package selection.Chris Lumens2009-03-171-42/+22
|
* Get iscsi going with the new storage codeHans de Goede2009-03-171-7/+0
| | | | | | This patch gets iscsi going with the new storage code. There are still a few hicups left (such as NetworkManager downing the interface our / is on), but I'll address those in separate patches.
* Fix the obvious and stupid typo (#490296).Chris Lumens2009-03-161-1/+1
|
* Add mediaPresent and eject to the OpticalDevice class.Chris Lumens2009-03-131-1/+2
| | | | | | | 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.
* Rename /etc/modprobe.d/anaconda to /etc/modprobe.d/anaconda.confChris Lumens2009-03-131-3/+3
| | | | | The kernel tells me that all module config files have to end with .conf in the future or they'll be ignored. We had better rename it, then.
* Merge branch 'master' into anaconda-storage-branchDavid Cantrell2009-03-111-2/+1
|\ | | | | | | | | | | * master: We also need to pack up the extra args tuple, too. doLoggingSetup keeps growing new arguments, so put them into a dict (#489709).
| * We also need to pack up the extra args tuple, too.Chris Lumens2009-03-111-1/+1
| |
| * doLoggingSetup keeps growing new arguments, so put them into a dict (#489709).Chris Lumens2009-03-111-2/+1
| | | | | | | | | | | | We don't even use any of the arguments to doLoggingSetup so there's no point in listing them all in the function header. This should prevent us from hitting this bug again.
* | Remove all uses of isys.cdromList, which no longer exists.Chris Lumens2009-03-051-1/+1
| |
* | Add central methods to write out storage configuration.David Lehman2009-03-041-2/+1
| |
* | Handle write and writeKS for the iSCSI and ZFCP modules.Chris Lumens2009-03-041-2/+2
| |
* | protectedPartitions is a list, not a function.Chris Lumens2009-03-041-1/+1
| |
* | Don't call selectBootloader anymore. That method was removed.Chris Lumens2009-03-041-1/+0
| |
* | Move bootloader package information into the platform module.Chris Lumens2009-02-271-11/+1
| |