diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-06-28 18:56:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-06-28 18:56:17 +0000 |
commit | d79c799a6c005f47ae17b85d8333cfa65ba145f1 (patch) | |
tree | 306a4f5dbe5538f6a2ba98c672ea1f321d65193c /yuminstall.py | |
parent | 90087ccc8fbcc52dd4431194c5dc3cea4ba0c6a3 (diff) | |
download | anaconda-d79c799a6c005f47ae17b85d8333cfa65ba145f1.tar.gz anaconda-d79c799a6c005f47ae17b85d8333cfa65ba145f1.tar.xz anaconda-d79c799a6c005f47ae17b85d8333cfa65ba145f1.zip |
2006-06-28 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (AnacondaYum.doConfigSetup): Move stuff around to
match current yum API
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/yuminstall.py b/yuminstall.py index 98dd53d2e..a60f9c147 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -324,8 +324,7 @@ class AnacondaYum(YumSorter): YumSorter.__init__(self) self.anaconda = anaconda self.method = anaconda.method - self.doStartupConfig(root=anaconda.rootPath) - self.doConfigSetup() + self.doConfigSetup(root=anaconda.rootPath) self.conf.installonlypkgs = [] self.macros = {} if flags.selinux: @@ -345,7 +344,7 @@ class AnacondaYum(YumSorter): self.updates = [] self.localPackages = [] - def doStartupConfig(self, fn='/etc/yum.conf', root='/'): + def doConfigSetup(self, fn='/etc/yum.conf', root='/'): self.conf = yum.config.YumConf() self.conf.installroot = root self.conf.reposdir="/tmp/repos.d" @@ -354,8 +353,7 @@ 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() |