diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-07-21 20:48:38 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-07-21 20:48:38 +0000 |
commit | 99ad0671eb01f670a7f55b8c998f58b1d2cb95cd (patch) | |
tree | 8636bdd44f4c1e11fdaee419b466e51844cbdab0 /yuminstall.py | |
parent | 54cacc87f83c44282b91ff82b0f70b2e4dac5e50 (diff) | |
download | anaconda-99ad0671eb01f670a7f55b8c998f58b1d2cb95cd.tar.gz anaconda-99ad0671eb01f670a7f55b8c998f58b1d2cb95cd.tar.xz anaconda-99ad0671eb01f670a7f55b8c998f58b1d2cb95cd.zip |
2006-07-21 Jeremy Katz <katzj@redhat.com>
* iw/autopart_type.py (PartitionTypeWindow.addIscsiDrive): Show
dialog while iscsid is starting
* yuminstall.py (YumBackend.selectFSPackages): Ensure that
iscsi-initiator-utils gets installed if installing on iscsi
* kickstart.py (AnacondaKSHandlers.doIscsi): Fixes for new iscsi
setup, startup iscsi targets at iscsi config
* iscsi.py: Sleep after starting iscsid, ensure we get the port
correct, redirect output from iscsid to avoid spinning, fix
writing out iscsi config
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index 531774fe3..22595d0e1 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -843,10 +843,16 @@ class YumBackend(AnacondaBackend): elif rhpl.getArch() == "ia64": self.selectPackage("elilo") - def selectFSPackages(self, fsset): + def selectFSPackages(self, fsset, diskset): for entry in fsset.entries: map(self.selectPackage, entry.fsystem.getNeededPackages()) + for disk in diskset.disks.keys(): + if isys.driveIsIscsi(disk): + log.info("ensuring iscsi is installed") + self.selectPackage("iscsi-initiator-utils") + break + def doPostSelection(self, anaconda): # Only solve dependencies on the way through the installer, not the way back. if anaconda.dir == DISPATCH_BACK: @@ -855,7 +861,7 @@ class YumBackend(AnacondaBackend): # do some sanity checks for kernel and bootloader self.selectBestKernel() self.selectBootloader() - self.selectFSPackages(anaconda.id.fsset) + self.selectFSPackages(anaconda.id.fsset, anaconda.id.diskset) if anaconda.id.getUpgrade(): from upgrade import upgrade_remove_blacklist |