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>
This commit is contained in:
parent
f4bf0739aa
commit
7e779aa90f
@ -70,7 +70,7 @@ class OSTreeContainerThread(WorkerThread):
|
|||||||
def worker(self, compose, variant, arch, config):
|
def worker(self, compose, variant, arch, config):
|
||||||
msg = "OSTree phase for variant %s, arch %s" % (variant.uid, arch)
|
msg = "OSTree phase for variant %s, arch %s" % (variant.uid, arch)
|
||||||
self.pool.log_info("[BEGIN] %s" % msg)
|
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(
|
self.logdir = compose.paths.log.topdir(
|
||||||
"%s/%s/ostree-container-%d" % (arch, variant.uid, self.num)
|
"%s/%s/ostree-container-%d" % (arch, variant.uid, self.num)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user