summaryrefslogtreecommitdiffstats
path: root/installclasses/fedora.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-12-08 06:03:04 +0000
committerJeremy Katz <katzj@redhat.com>2005-12-08 06:03:04 +0000
commit894a0653fde6a56909937e03e044570b6a8fd7fd (patch)
tree598fac75fdc132251ddc7700503d66133aedea6c /installclasses/fedora.py
parentadaa65374ef56bb0c16abb5bad286c5a75c89236 (diff)
downloadanaconda-894a0653fde6a56909937e03e044570b6a8fd7fd.tar.gz
anaconda-894a0653fde6a56909937e03e044570b6a8fd7fd.tar.xz
anaconda-894a0653fde6a56909937e03e044570b6a8fd7fd.zip
2005-12-08 Jeremy Katz <katzj@redhat.com>
* installclasses/fedora.py (InstallClass.setGroupSelection): Get default groups from the backend * backend.py (AnacondaBackend.getDefaultGroups): Support for getting default groups * iw/GroupSelector.py: Guts of new group/package selection code. Eventually will live in son of s-c-packages. * ui/GroupSelector.glade: glade file for new group selection code * iw/package_gui.py: Basic shell for GroupSelector use in anaconda * yuminstall.py: Update for yum 2.5 API changes. Note that we now *require* yum-2.5.0-0.20051207 or newer (isPackageInstalled): Add method to see if package is installed for group selection. (_catchallCategory): Add method to take uncategorized groups and stick them somewhere (getDefaultGroups): Backend method for finding the default selected groups based on what comps says * gui.py (stepToClass): Move to new group selection code.
Diffstat (limited to 'installclasses/fedora.py')
-rw-r--r--installclasses/fedora.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index 420d40ba1..9c086eb6f 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -23,8 +23,8 @@ class InstallClass(BaseInstallClass):
CLEARPART_TYPE_LINUX)
def setGroupSelection(self, backend):
- backend.selectGroup("workstation-common")
- backend.selectGroup("gnome-desktop")
+ grps = backend.getDefaultGroups()
+ map(lambda x: backend.selectGroup(x), grps)
def setSteps(self, dispatch):
BaseInstallClass.setSteps(self, dispatch);