createrepo: use separate logs for different pkg_type
Instead of overwriting the same log file, make sure we keep all the logs for debuginfo, source and binary packages. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
11bbbae2ed
commit
a1b86b93ea
@ -194,7 +194,7 @@ def create_variant_repo(compose, arch, variant, pkg_type):
|
|||||||
groupfile=comps_path, update_md_path=repo_dir_arch,
|
groupfile=comps_path, update_md_path=repo_dir_arch,
|
||||||
checksum=createrepo_checksum, deltas=createrepo_deltas,
|
checksum=createrepo_checksum, deltas=createrepo_deltas,
|
||||||
oldpackagedirs=old_packages_dir)
|
oldpackagedirs=old_packages_dir)
|
||||||
log_file = compose.paths.log.log_file(arch, "createrepo-%s" % variant)
|
log_file = compose.paths.log.log_file(arch, "createrepo-%s.%s" % (variant, pkg_type))
|
||||||
run(cmd, logfile=log_file, show_cmd=True)
|
run(cmd, logfile=log_file, show_cmd=True)
|
||||||
|
|
||||||
# call modifyrepo to inject productid
|
# call modifyrepo to inject productid
|
||||||
|
Loading…
Reference in New Issue
Block a user