On Tue, 2007-08-07 at 16:08 -0400, Colin Walters wrote:
> This patch was useful for debugging the first one.
diff --git a/creator/livecd-creator b/creator/livecd-creator
index 9c86878..69624cb 100755
--- a/creator/livecd-creator
+++ b/creator/livecd-creator
@@ -175,6 +175,15 @@ class SparseExt3LoopbackMount(LoopbackMount):
self._formatFilesystem()
return LoopbackMount.mount(self)
+class TextProgress(object):
+ def start(self, filename, url, *args, **kwargs):
+ print "Retrieving %s" % (url,)
+ self.url = url
+ def update(self, *args):
+ pass
+ def end(self, *args):
+ print "Retrieved %s OK" % (self.url,)
+
class LiveCDYum(yum.YumBase):
def __init__(self):
yum.YumBase.__init__(self)
@@ -189,7 +198,7 @@ class LiveCDYum(yum.YumBase):
conf += "installroot=%s\n" % installroot
conf += "cachedir=/var/cache/yum\n"
conf += "plugins=0\n"
- conf += "debuglevel=2\n"
+ conf += "debuglevel=3\n"
conf += "reposdir=\n"
path = datadir + "/yum.conf"
@@ -261,6 +270,7 @@ class LiveCDYum(yum.YumBase):
repo.gpgcheck = 0
repo.enable()
repo.setup(0)
+ repo.setCallback(TextProgress())
self.repos.add(repo)
def runInstall(self):
--
1.5.2.2
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list