fix debuginfo check and logfile name
This commit is contained in:
parent
f26eb7560c
commit
869dc3b57b
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue