From 869dc3b57b88c0ca7134ff79b2a1be11a8bdab62 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: May 03 2018 20:05:16 +0000 Subject: fix debuginfo check and logfile name --- diff --git a/builder/kojid b/builder/kojid index cead161..887fbf8 100755 --- a/builder/kojid +++ b/builder/kojid @@ -5267,7 +5267,7 @@ class createDistRepoTask(BaseTaskHandler): groupdata, oldpkgs=oldpkgs) if opts['split_debuginfo']: self.do_createrepo(debugdir, '%s/pkglist' % debugdir, None, - oldpkgs=oldpkgs) + oldpkgs=oldpkgs, logname='createrepo_debug') if len(self.kojipkgs) == 0: fo = file(os.path.join(datadir, "EMPTY_REPO"), 'w') fo.write("This repo is empty because its tag has no content for this arch\n") @@ -5582,7 +5582,7 @@ enabled=1 for bnp in self.kojipkgs: rpminfo = self.kojipkgs[bnp] bnplet = bnp[0].lower() - if opts['split_debuginfo'] and rpminfo.get('_multilib'): + if opts['split_debuginfo'] and koji.is_debuginfo(rpminfo['name']): # note the ../ debug_pkgs.append('../%s/%s\n' % (bnplet, bnp)) else: