koji spin-livecd error; patch for /usr/sbin/kojid

Doug Reiland dreiland at gmail.com
Fri Jun 4 17:57:17 UTC 2010


I started to get errors trying to do a koji spin-livecd

In my mock directory, under tmp/koji-livecd. I am seeing a directory
called "installed" show up. It doesn't have a packages subdirectory so
os.listdirs generates a fault.


--- /usr/sbin/kojid	2010-06-04 13:54:50.773811154 -0400
+++ /tmp/kojid	2010-06-04 13:54:42.235810018 -0400
@@ -2386,9 +2386,6 @@
                 pkgpath = os.path.join(broot.rootdir(), cachedir[1:], repo,
                                        'packages')

-            	if not os.path.exists(pkgpath):
-			continue
-
                 pkgs = os.listdir(pkgpath)
                 for pkg in pkgs:
                     pkgfile = os.path.join(pkgpath, pkg)


More information about the buildsys mailing list