[Fedora-livecd-list] tip: livecd-creator yum debugging

Mads Kiilerich mads at kiilerich.com
Thu Aug 18 11:45:45 UTC 2011


Package dependencies and failures sometimes show up when building 
images. To debug that it is nice if yum is a bit more verbose when 
resolving dependencies. I usually make a hack for that and forget what I 
did so it takes some time to do it next time, so here it is for your 
benefit and for my reference:

--- /tmp/yuminst.py	2011-08-18 12:19:51.549953079 +0200
+++ /usr/lib/python2.7/site-packages/imgcreate/yuminst.py	2011-08-18 
12:20:29.002485171 +0200
@@ -91,7 +91,7 @@
      def setup(self, confpath, installroot):
          self._writeConf(confpath, installroot)
          self._cleanupRpmdbLocks(installroot)
-        self.doConfigSetup(fn = confpath, root = installroot)
+        self.doConfigSetup(fn = confpath, root = installroot, debuglevel=5)
          self.conf.cache = 0
          self.doTsSetup()
          self.doRpmDBSetup()

It would be nice if it could be controlled with some livecd-creator 
command line option.

/Mads


More information about the livecd mailing list