diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-12-16 23:25:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-12-16 23:25:50 +0000 |
commit | 82f4952dd7c4c2e9ee524eff1c46dd248ecec653 (patch) | |
tree | aead4609392c811f4d012a8106027e6acd5e6a0c /yuminstall.py | |
parent | 78410a0106f3025a108f0a06d579870e6fdb5e13 (diff) | |
download | anaconda-82f4952dd7c4c2e9ee524eff1c46dd248ecec653.tar.gz anaconda-82f4952dd7c4c2e9ee524eff1c46dd248ecec653.tar.xz anaconda-82f4952dd7c4c2e9ee524eff1c46dd248ecec653.zip |
2005-12-16 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (YumBackend.getBestKernelByArch): No more smp
kernel if NX is available
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py index 17905fbb6..5cc19dcd5 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -643,8 +643,7 @@ class YumBackend(AnacondaBackend): log.debug("selecting kernel-xen-hypervisor-devel") self.selectPackage("kernel-xen-hypervisor-devel") - if not foundkernel and (isys.smpAvailable() or isys.htavailable() - or iutil.hasNX()): + if not foundkernel and (isys.smpAvailable() or isys.htavailable()): try: ksmp = getBestKernelByArch("kernel-smp", self.ayum) log.info("selected kernel-smp package for kernel") @@ -719,7 +718,7 @@ class YumBackend(AnacondaBackend): (self.dlpkgs, self.totalSize, self.totalFiles) = self.ayum.getDownloadPkgs() finally: dscb.pop() - self.ayum.dsCallback = None + self.ayum.dsCallback = None def doPreInstall(self, intf, id, instPath, dir): if dir == DISPATCH_BACK: |