diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-11-15 17:12:54 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-11-15 17:12:54 +0000 |
commit | ce9dfb504e2622754fa40c3dfe730e4604302275 (patch) | |
tree | 89e236a41c0408891aa4cbb941fb91e8ed0e8d02 /yuminstall.py | |
parent | 2e807cd5ad3dc16b30c21b0d316098d01b0b3218 (diff) | |
download | anaconda-ce9dfb504e2622754fa40c3dfe730e4604302275.tar.gz anaconda-ce9dfb504e2622754fa40c3dfe730e4604302275.tar.xz anaconda-ce9dfb504e2622754fa40c3dfe730e4604302275.zip |
2005-11-15 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (YumBackend.getBestKernelByArch): Install smp
kernel if NX is present (#172345)
* iutil.py (hasNX): Add a method to find out if we have NX
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py index 26645a2df..a082dd3ff 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -501,7 +501,8 @@ 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()): + if not foundkernel and (isys.smpAvailable() or isys.htavailable() + or iutil.hasNX()): try: ksmp = getBestKernelByArch("kernel-smp", self.ayum) log.info("selected kernel-smp package for kernel") |