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. --- anaconda | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anaconda') diff --git a/anaconda b/anaconda index 38e4ba00a..e489fa5c9 100755 --- a/anaconda +++ b/anaconda @@ -1052,7 +1052,7 @@ if method: from image import NfsInstallMethod methodobj = NfsInstallMethod(method[5:], rootPath, intf) from yuminstall import YumBackend - backend = YumBackend("file:////mnt/source", methodobj) + backend = YumBackend("file:///mnt/source", methodobj, rootPath) # elif method.startswith('nfsiso:/'): # from image import NfsIsoInstallMethod # methodobj = NfsIsoInstallMethod(method[8:], rootPath, intf) @@ -1060,7 +1060,7 @@ if method: from urlinstall import UrlInstallMethod methodobj = UrlInstallMethod(method, rootPath, intf) from yuminstall import YumBackend - backend = YumBackend(method, methodobj) + backend = YumBackend(method, methodobj, rootPath) # elif method.startswith('hd://'): # from harddrive import HardDriveInstallMethod # methodobj = HardDriveInstallMethod(method[5:], rootPath, intf) -- cgit