From 10f211fb9f37aff25d1dc592c9796cd9fe8e179e Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 16 Sep 2005 21:16:28 +0000 Subject: 2005-09-16 Jeremy Katz * yuminstall.py (AnacondaYum.__init__): Little bit of clean-up, remove some unused code. (YumBackend.__init__): Create config file sooner. (YumBackend.doPreSelection): Get base install class package selection working in the short-term. (YumBackend): Implement groupExists, selectGroup, selectPackage and deselectPackage. * kickstart.py (AnacondaKSParser.handleCommand): Fix traceback. (Kickstart.setPackageSelection): Implement basic package selection. (Kickstart.setGroupSelection): ... and group selection. * installclass.py (BaseInstallClass.setPackageSelection): Use backend. (BaseInstallClass.setGroupSelection): Likewise. * dispatch.py (installSteps): Some comments to move stuff around, re-instate post action step. * backend.py (AnacondaBackend): Take instpath argument. Stub in functions for basic package/group selection. * anaconda: Pass rootPath into backend. --- installclass.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'installclass.py') diff --git a/installclass.py b/installclass.py index e41450f84..26631d62e 100644 --- a/installclass.py +++ b/installclass.py @@ -208,14 +208,10 @@ class BaseInstallClass: dispatch.skipStep("handleX11pkgs", permanent = 1) dispatch.skipStep("writexconfig", permanent = 1) - # This is called after the hdlist is read in. - def setPackageSelection(self, hdlist, intf): + def setPackageSelection(self, backend): pass - # This is called after the comps is read in (after setPackageSelection()). - # It can both select groups, change the default selection for groups, and - # change which groups are hidden. - def setGroupSelection(self, grpset, intf): + def setGroupSelection(self, backend): pass def setZFCP(self, id, devnum, scsiid, wwpn, scsilun, fcplun): -- cgit