summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Lots of little updates to make things use the new storage module.David Lehman2009-02-241-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* | Updates to make existing code use the new storage module.David Lehman2009-02-231-17/+9
|/
* Set runlevel 5 if any package provides service(graphical-login).Chris Lumens2009-02-231-4/+2
|
* Make sure to call _getConfig from our YumSorter subclass.Chris Lumens2009-02-021-1/+1
|
* Use the preconf object for yum configuration now (jantill).Chris Lumens2009-01-271-2/+8
| | | | | | YumSorter._getConfig has changed such that it no longer takes any parameters. Instead, it looks in a preconf object and pulls values out of that. We need to adapt to do the same, since we override these methods.
* Only run selectBestKernel, selectBootloader, etc. for new installs.Will Woods2009-01-201-5/+6
| | | | | | | | Since we run selectBestKernel, selectBootloader, etc. for new installs, upgrades will always have a kernel and bootloader and other necessary packages installed. It used to be harmless to run them anyway, but now forcing things into the package set will break preupgrade. See RHBZ #476714.
* Revert "Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)"Jeremy Katz2009-01-081-1/+1
| | | | | | This reverts commit 89652b6fbe65e5e7922d743a99b07104d071ef42. This patch was not reviewed on the list and does not fix any emergency build breakage. Thus, per policy is being reverted.
* Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)Martin Sivak2009-01-081-1/+1
|
* Add a message to install.log when package installation is done (#476953).Chris Lumens2009-01-071-0/+1
| | | | | | | | install.log is written in-place to /mnt/sysimage/root, while the anaconda.log is only copied over to the running system at the very end of anaconda. It is therefore possible to get an installation that fails during package installation, but may still look complete on the installed system due to the presence of an install.log. So, add a message when it's all done.
* When there's no baseurl, set a default of [] instead of [''] (#476208).Chris Lumens2008-12-151-1/+5
|
* returnNewestByName now raises an error instead of returning [] (#472462).Chris Lumens2008-11-211-5/+9
| | | | | | Actually, it's been doing this for several months now and we are even doing the correct thing in a couple places. We just didn't go back and change our calls elsewhere in yuminstall.py to match.
* Only bring up the network dialog on package failures if required (#471502).Chris Lumens2008-11-171-5/+5
| | | | | | Since we don't fall back to a network repo in the event of an error on the DVD anyway, there's no point in even asking if we want to bring the network up. This might be a good thing to look at for the future though.
* Fix more UnicodeDecodeErrors, hopefully for good this time (#470733).Chris Lumens2008-11-111-17/+15
|
* Deselect groups when we reset things also (#469854)Jeremy Katz2008-11-061-0/+2
| | | | | | When we're resetting selections, we also need to reset group selections otherwise when we go back and select groups again, they don't select packages
* We always need a wait window, not just when the repo has a name.Chris Lumens2008-11-051-1/+1
|
* Improve filtering of non-available groups (#469438)Jeremy Katz2008-11-031-0/+29
| | | | | | | | We show groups that don't have any of their mandatory packages available which is less than ideal as, eg, xfce-desktop gets shown just because gdm is on the dvd. So make our filtering a little bit stronger. And make sure that text mode is using the same filtering
* If method=nfs: is given, check if it's really an NFSISO install (#468885).Chris Lumens2008-10-311-0/+10
| | | | | | This really ought to be fixed by supporting nfsiso: in the loader, but it's entirely too late in the process to make that kind of change now. Fixing it properly is going to be a lot of coding.
* Another fix for printing package summaries in text mode (#468283).Chris Lumens2008-10-271-4/+4
|
* Fix traceback in network.bringUp() (#468651)David Cantrell2008-10-261-1/+1
| | | | | | Let network.bringUp() work by calling network.write() with no parameters. bringUp() is used to bring up networking during installation.
* Tell NetworkManager not to touch network interfaces when / is a netfsHans de Goede2008-10-241-1/+1
| | | | | Tell NetworkManager not to touch anaconda configured interfaces when / is on a network based device.
* Skip Installation Repo when writing out repo kickstart lines.Chris Lumens2008-10-221-0/+3
|
* If networking is needed for yum repos, bring it up before fetching repodata.Chris Lumens2008-10-161-0/+14
|
* Change the upgrade progress bar to pulse (#466053).Chris Lumens2008-10-081-7/+10
| | | | | | The RPM callback doesn't work like I expected, so we don't have the information to know how many packages are getting cleaned up and which one we're on. So the best we can do is pulse a progress bar in a window instead of a real one.