From 894a0653fde6a56909937e03e044570b6a8fd7fd Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 8 Dec 2005 06:03:04 +0000 Subject: 2005-12-08 Jeremy Katz * 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. --- installclasses/fedora.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installclasses/fedora.py') 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); -- cgit