summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-10-16 21:40:40 +0000
committerJeremy Katz <katzj@redhat.com>2006-10-16 21:40:40 +0000
commitd6c217b81d2d2fac0595731a4023981eb2ade78b (patch)
treef9bcd5ea91ee6384723fa78f1bbd1cc4d2d2f754 /yuminstall.py
parent30c0b2e4c0725f0fc3d3062698e78cd6db172417 (diff)
downloadanaconda-d6c217b81d2d2fac0595731a4023981eb2ade78b.tar.gz
anaconda-d6c217b81d2d2fac0595731a4023981eb2ade78b.tar.xz
anaconda-d6c217b81d2d2fac0595731a4023981eb2ade78b.zip
2006-10-16 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (YumBackend.doGroupSetup): Fix up for virtualization being the group instead of xen
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 9a86c7800..b7656431d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -769,13 +769,13 @@ class YumBackend(AnacondaBackend):
self.ayum.doGroupSetup()
# FIXME: this is a bad hack to remove support for xen on xen (#179387)
if os.path.exists("/proc/xen"):
- if self.ayum.comps._groups.has_key("xen"):
- del self.ayum.comps._groups["xen"]
+ if self.ayum.comps._groups.has_key("virtualization"):
+ del self.ayum.comps._groups["virtualization"]
# FIXME: and another bad hack since our xen kernel is PAE
if rpmUtils.arch.getBaseArch() == "i386" and "pae" not in iutil.cpuFeatureFlags():
- if self.ayum.comps._groups.has_key("xen"):
- del self.ayum.comps._groups["xen"]
+ if self.ayum.comps._groups.has_key("virtualization"):
+ del self.ayum.comps._groups["virtualization"]
def doRepoSetup(self, anaconda, thisrepo = None, fatalerrors = True):