ostree_container: Use unique temporary directory
The config repository is cloned into a path that conflicts with the
regular ostree phase. Let's use a unique name to avoid that problem.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 7e779aa90f
)
This commit is contained in:
parent
dca3be5861
commit
bb2e32132e
@ -70,7 +70,7 @@ class OSTreeContainerThread(WorkerThread):
|
||||
def worker(self, compose, variant, arch, config):
|
||||
msg = "OSTree phase for variant %s, arch %s" % (variant.uid, arch)
|
||||
self.pool.log_info("[BEGIN] %s" % msg)
|
||||
workdir = compose.paths.work.topdir("ostree-%d" % self.num)
|
||||
workdir = compose.paths.work.topdir("ostree-container-%d" % self.num)
|
||||
self.logdir = compose.paths.log.topdir(
|
||||
"%s/%s/ostree-container-%d" % (arch, variant.uid, self.num)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user