FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 04:44 PM
Mark McLoughlin
 
Default yuminstall: don't look for kernel-xen anymore

We don't have a kernel-xen anymore, so we should
pick up the default kernel just fine.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
yuminstall.py | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 88f8d1e..65047b4 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1273,27 +1273,11 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon

# FIXME: this is a bit of a hack. we shouldn't hard-code and
# instead check by provides. but alas.
- for k in ("kernel", "kernel-smp", "kernel-xen0", "kernel-xen",
- "kernel-PAE"):
+ for k in ("kernel", "kernel-smp", "kernel-PAE"):
if len(self.ayum.tsInfo.matchNaevr(name=k)) > 0:
self.selectModulePackages(anaconda, k)
foundkernel = True

- if not foundkernel and os.path.exists("/proc/xen"):
- 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)
- self.selectModulePackages(anaconda, kxen.name)
- 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)
--
1.5.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org