add date stamp to repoclosure logs to keep it as clean as possible
This commit is contained in:
parent
f36af93fc2
commit
bcc1dd7c22
@ -792,7 +792,7 @@ class RepoSync:
|
|||||||
)
|
)
|
||||||
repoclosure_cmd = ('/usr/bin/dnf repoclosure {} '
|
repoclosure_cmd = ('/usr/bin/dnf repoclosure {} '
|
||||||
'--repofrompath={},file://{}/{}/{}/os --repo={} --check={} {} '
|
'--repofrompath={},file://{}/{}/{}/os --repo={} --check={} {} '
|
||||||
'| tee -a {}/{}-repoclosure-{}.log').format(
|
'| tee -a {}/{}-repoclosure-{}-{}.log').format(
|
||||||
repoclosure_arch_list,
|
repoclosure_arch_list,
|
||||||
repo,
|
repo,
|
||||||
sync_root,
|
sync_root,
|
||||||
@ -803,7 +803,8 @@ class RepoSync:
|
|||||||
join_repo_comb,
|
join_repo_comb,
|
||||||
log_root,
|
log_root,
|
||||||
repo,
|
repo,
|
||||||
arch
|
arch,
|
||||||
|
self.date_stamp
|
||||||
)
|
)
|
||||||
repoclosure_entry_point_open = open(repoclosure_entry_point_sh, "w+")
|
repoclosure_entry_point_open = open(repoclosure_entry_point_sh, "w+")
|
||||||
repoclosure_entry_point_open.write('#!/bin/bash\n')
|
repoclosure_entry_point_open.write('#!/bin/bash\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user