summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't use baseurl containing space in yum repo object (#516042).Radek Vykydal2009-09-151-1/+1
|
* Fix busy cursor in repo editing (#518529)Radek Vykydal2009-09-141-2/+1
| | | | | Do not pop it twice, and leave the loop after repo editing as we enter it recursively in dialog's run() method.
* No longer copy over the CD/DVD repodata or repo config file (#521358).Chris Lumens2009-09-091-17/+1
| | | | | | | These were mostly being copied over to help pirut so it could automatically know to look at the installation media for more packages. However, pirut is dead and none of the other tools support this concept anymore. Also, most people don't have their CD/DVD mounted or handy most of the time.
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace().
* Only add "rhgb quiet" to boot args for non-serial installs (#506508, 510523).Chris Lumens2009-08-251-1/+2
|
* On rpm unpack errors, display a fatal error message (#452724).Chris Lumens2009-08-251-0/+13
| | | | | | We could just display some sort of warning here, but this seems like a pretty big error. It could indicate media read errors or network problems getting in the way, and either of those will likely lead to additional errors later on.
* Close %packages with a %end (#518063)Jeremy Katz2009-08-181-0/+2
|
* Don't to unmount /mnt/source unless something's mounted there (#516304).Chris Lumens2009-08-101-1/+1
|
* Support NFS repos in kickstart (#495620, #507093).Chris Lumens2009-08-071-0/+23
|
* Check to see if the arch string starts with ppc64. (#516144)Joel Granados Moreno2009-08-071-1/+2
| | | | | * yuminstall.py (selectKernel): use python's "".startswith function to check for ppc64 arch.
* 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.