summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2006-02-08 18:29:39 +0000
committerPaul Nasrat <pnasrat@redhat.com>2006-02-08 18:29:39 +0000
commite913e9e880e39596d5617aa7c17340e33613605f (patch)
tree98f1a34924ee3464015a947066aa99da322559eb /yuminstall.py
parent1ac45c7c1bb056a27fe38d153e5a08f6737d5af5 (diff)
downloadanaconda-e913e9e880e39596d5617aa7c17340e33613605f.tar.gz
anaconda-e913e9e880e39596d5617aa7c17340e33613605f.tar.xz
anaconda-e913e9e880e39596d5617aa7c17340e33613605f.zip
disable repo write for now
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 97a608ae5..fe8d8e388 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -257,7 +257,7 @@ class YumSorter(yum.YumBase):
best = None
(r, f, v) = req
- satisfiers = []
+ satisfiers = {}
for po in self.whatProvides(r, f, v):
# if we already have something installed which does the provide
# then that's obviously the one we want to use. this takes
@@ -384,7 +384,7 @@ class AnacondaYum(YumSorter):
def log(self, value, msg):
if value >= 2:
- pass
+ log.debug(msg)
elif value == 1:
log.info(msg)
else:
@@ -997,6 +997,8 @@ class YumBackend(AnacondaBackend):
map(lambda pkg: f.write("%s\n" % pkg), packages)
def writeConfiguration(self):
+ #XXX: dump is not sufficient reenable when fixed
+ return
for repo in self.ayum.repos.listEnabled():
repo.disable()
fn = "%s/etc/yum.repos.d/%s.repo" % ( self.instPath, repo.id)