Prefix lookaside cache dir with compose id

Then it could be cleaned up leater.

JIRA: COMPOSE-3922
Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2019-11-19 14:17:29 +08:00
parent e0dd20dffe
commit 90187298f2

View File

@ -64,7 +64,7 @@ def run_repoclosure(compose):
repos[repo_id] = repo_dir
for i, lookaside_url in enumerate(get_lookaside_repos(compose, arch, variant)):
lookaside["lookaside-%s.%s-%s" % (variant.uid, arch, i)] = lookaside_url
lookaside["%s-lookaside-%s.%s-%s" % (compose.compose_id, variant.uid, arch, i)] = lookaside_url
logfile = compose.paths.log.log_file(arch, "repoclosure-%s" % variant)