summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-13 17:55:49 +0000
committerChris Lumens <clumens@redhat.com>2006-06-13 17:55:49 +0000
commitf29ef02146362cd7aca1ad6ebd0f1212ed8399c5 (patch)
treeb0e8363e39e07391aa377289b162ce8b061fc533 /yuminstall.py
parentf13aa7792587a422b7681c3c4dff59675270069b (diff)
downloadanaconda-f29ef02146362cd7aca1ad6ebd0f1212ed8399c5.tar.gz
anaconda-f29ef02146362cd7aca1ad6ebd0f1212ed8399c5.tar.xz
anaconda-f29ef02146362cd7aca1ad6ebd0f1212ed8399c5.zip
Rearrange config steps. Make sure package get installed. I guess that's
desired behavior.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py
index bd765160e..0e6f87848 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -343,9 +343,6 @@ class AnacondaYum(YumSorter):
self.localPackages = []
def doStartupConfig(self, fn='/etc/yum.conf', root='/'):
- pass
-
- def doConfigSetup(self, fn=None, root='/'):
self.conf = yum.config.YumConf()
self.conf.installroot = root
self.conf.reposdir="/tmp/repos.d"
@@ -354,6 +351,8 @@ class AnacondaYum(YumSorter):
self.conf.exclude=["*debuginfo*"]
self.conf.cache=0
self.conf.cachedir = '/tmp/cache/'
+
+ def doConfigSetup(self):
#XXX: It'd be nice if the default repo was in the repoList
repo = AnacondaYumRepo(self.method.getMethodUri())
repo.enable()