summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-27 23:32:21 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-27 23:32:21 +0000
commita09fa1f306f1b563bd715deb30bb4bc8a6318f02 (patch)
treee4fe64e4bd0b58b43f7aeac49e7a74a983c6df12 /installclass.py
parentde3dc99f48331fad6df60809231554f03b5500a8 (diff)
downloadanaconda-a09fa1f306f1b563bd715deb30bb4bc8a6318f02.tar.gz
anaconda-a09fa1f306f1b563bd715deb30bb4bc8a6318f02.tar.xz
anaconda-a09fa1f306f1b563bd715deb30bb4bc8a6318f02.zip
add hackish way to handle lack of real conditionals in new comps file right now. needs to go before the final release, but will work for now
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index a06963d20..f84836d93 100644
--- a/installclass.py
+++ b/installclass.py
@@ -41,6 +41,21 @@ class BaseInstallClass:
# we can use a different install data class
installDataClass = InstallData
+ # FIXME: THIS IS A HORRIBLE HACK AND MUST GO AWAY
+ def selectDependentHiddenGroups(self, id):
+ sup = id.langSupport.supported
+ if len(sup) == 0:
+ sup = id.langSupport.getAllSupported()
+
+ for group in id.comps.compsxml.groups.values():
+ if group.langonly in sup:
+ if not id.comps.compsDict.has_key(group.name):
+ log("Where did the %s component go?" %(group.name,))
+ continue
+ id.comps.compsDict[group.name].select()
+
+ return
+
def postAction(self, rootPath, serial):
pass
@@ -103,6 +118,7 @@ class BaseInstallClass:
"authentication",
"readcomps",
"package-selection",
+ "package-group-select-hack",
"handleX11pkgs",
"checkdeps",
"dependencies",