summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-11-06 14:10:32 +0000
committerJeremy Katz <katzj@redhat.com>2006-11-06 14:10:32 +0000
commit331c0c7388a87cb41705e891ad8de5d4ac6023f2 (patch)
treec30dd7d6d90ab0dfa48fdc56673cdc9a725612cb /yuminstall.py
parentc65640f6cb1be5f24d29a18f9eceb8754fb42e57 (diff)
downloadanaconda-331c0c7388a87cb41705e891ad8de5d4ac6023f2.tar.gz
anaconda-331c0c7388a87cb41705e891ad8de5d4ac6023f2.tar.xz
anaconda-331c0c7388a87cb41705e891ad8de5d4ac6023f2.zip
2006-11-06 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (YumBackend.getBestKernelByArch): Remove hacky 'linux xen0' bits; you can select the virt group sanely now
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/yuminstall.py b/yuminstall.py
index acdd2a510..19758be96 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1012,20 +1012,6 @@ class YumBackend(AnacondaBackend):
log.debug("selecting kernel-xen-devel")
- if not foundkernel and flags.cmdline.has_key("xen0"):
- try:
- kxen = getBestKernelByArch("kernel-xen", self.ayum)
- log.info("selecting kernel-xen package for kernel")
- foundkernel = True
- except PackageSackError:
- kxen = None
- log.debug("no kernel-xen package")
- else:
- self.ayum.install(po = kxen)
- if len(self.ayum.tsInfo.matchNaevr(name="gcc")) > 0:
- log.debug("selecting kernel-xen-devel")
- self.selectPackage("kernel-xen-devel.%s" % (kxen.arch,))
-
if not foundkernel and (isys.smpAvailable() or isys.htavailable()):
try:
ksmp = getBestKernelByArch("kernel-smp", self.ayum)