--- builder/kojid | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/builder/kojid b/builder/kojid index aece387..600b861 100755 --- a/builder/kojid +++ b/builder/kojid @@ -3694,7 +3694,10 @@ class CreaterepoTask(BaseTaskHandler):
def create_local_repo(self, rinfo, arch, pkglist, groupdata, oldrepo): koji.ensuredir(self.outdir) - cmd = ['/usr/bin/createrepo', '-vd', '-o', self.outdir] + crbin = '/usr/bin/createrepo_c' + if not os.path.isfile(crbin): + crbin = '/usr/bin/createrepo' + cmd = [crbin, '-vd', '-o', self.outdir] if pkglist is not None: cmd.extend(['-i', pkglist]) if os.path.isfile(groupdata):
buildsys@lists.fedoraproject.org