Speaking of making it easier for backends... Elliot -- Elliot Peele rPath, Inc. elliot@xxxxxxxxx 919.851.3984 2117
diff -r 4b16cd59182a backend.py --- a/backend.py Thu Sep 21 17:44:13 2006 -0400 +++ b/backend.py Thu Nov 09 16:19:11 2006 -0500 @@ -144,6 +144,10 @@ class AnacondaBackend: log.warning("writeConfig not implemented for backend!") pass + def getRequiredMedia(self): + log.warning("getRequiredMedia not implmented for backend!") + pass + def doRepoSetup(anaconda): anaconda.backend.doInitialSetup(anaconda) anaconda.backend.doRepoSetup(anaconda) diff -r 4b16cd59182a image.py --- a/image.py Thu Sep 21 17:44:13 2006 -0400 +++ b/image.py Thu Nov 09 16:20:15 2006 -0500 @@ -45,7 +45,7 @@ else: # # dialog returns a value of 0 if user selected to abort install def presentRequiredMediaMessage(anaconda): - reqcds = anaconda.backend.ayum.tsInfo.reqmedia.keys() + reqcds = anaconda.backend.getRequiredMedia() # if only one CD required no need to pop up a message if len(reqcds) < 2: diff -r 4b16cd59182a yuminstall.py --- a/yuminstall.py Thu Sep 21 17:44:13 2006 -0400 +++ b/yuminstall.py Thu Nov 09 16:18:16 2006 -0500 @@ -1264,6 +1264,9 @@ class YumBackend(AnacondaBackend): repo.enable() f.close() + def getRequiredMedia(self): + return self.ayum.tsInfo.reqmedia.keys() + class YumProgress: def __init__(self, intf, text, total): window = intf.progressWindow(_("Installation Progress"), text,