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

Jay Greguske jgregusk at redhat.com
Fri Jun 4 18:40:28 UTC 2010


Here it is:

https://bugzilla.redhat.com/show_bug.cgi?id=590340

I sent a patch upstream too but after browsing the sources I don't see my changes. My patch is attached, Doug's should work too.

- Jay



----- "Jay Greguske" <jgregusk at redhat.com> wrote:

> Is yum up to date? We saw this error briefly too, but it went away
> once it was corrected in that package. I'll see if I can dig up the
> bugzilla...
> 
> 
> 
> 
> ----- "Doug Reiland" <dreiland at gmail.com> wrote:
> 
> > 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)
> > --
> > buildsys mailing list
> > buildsys at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/buildsys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-only-koji-repo-directories-are-considered-when-scrap.patch
Type: text/x-patch
Size: 849 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20100604/eecdfb5e/attachment.bin 


More information about the buildsys mailing list