diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-10-24 20:40:47 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-10-24 20:40:47 +0000 |
commit | 45e723b53696542b0bc151c444fb4778f376ae5b (patch) | |
tree | f01853a458798109e1aa478ee6642b2f035098ff /yuminstall.py | |
parent | 3b1e8b8e1c3a06c31d73eec3372cc32b760045f3 (diff) | |
download | anaconda-45e723b53696542b0bc151c444fb4778f376ae5b.tar.gz anaconda-45e723b53696542b0bc151c444fb4778f376ae5b.tar.xz anaconda-45e723b53696542b0bc151c444fb4778f376ae5b.zip |
2005-10-24 Jeremy Katz <katzj@redhat.com>
* dispatch.py (installSteps): Break out reposetup and base package
selection into separate steps.
* installclass.py (BaseInstallClass.setSteps): Likewise.
* yuminstall.py (YumBackend.doRepoSetup): Add backend repo setup.
* backend.py (doBasePackageSelect): Implement generically for now
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/yuminstall.py b/yuminstall.py index f1e3dda24..05ab376cc 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -265,11 +265,9 @@ class YumBackend(AnacondaBackend): # FIXME: this is a bad hack until we can get something better into yum self.anaconda_grouplist = [] - # FIXME: this step is actually probably not broken out properly - def doPreSelection(self, intf, id, instPath): + def doRepoSetup(self, intf, instPath): if not os.path.exists("/tmp/cache"): iutil.mkdirChain("/tmp/cache/headers") - # this should be in some sort of backend setup step tasks = (self.ayum.doMacros, self.ayum.doTsSetup, self.ayum.doRpmDBSetup, @@ -278,8 +276,8 @@ class YumBackend(AnacondaBackend): self.ayum.doGroupSetup, self.ayum.doSackSetup ) - - waitwin = YumProgress(intf, _("Getting installation information"), len(tasks)) + waitwin = YumProgress(intf, _("Retrieving installation information"), + len(tasks)) self.ayum.repos.callback = waitwin try: @@ -297,12 +295,6 @@ class YumBackend(AnacondaBackend): type="custom", custom_icon="error", custom_buttons=[_("_Exit")]) sys.exit(0) - - - # then a base package selection step - if id: # hack for my test script :) - id.instClass.setPackageSelection(self) - id.instClass.setGroupSelection(self) def selectBestKernel(self): """Find the best kernel package which is available and select it.""" |