From bb2e32132e6f9bca67d2994495ca983f4578ed74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 18 Jan 2024 10:06:27 +0100 Subject: [PATCH] ostree_container: Use unique temporary directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ář (cherry picked from commit 7e779aa90fbc67a8353b214f0308f25d0aeac188) --- pungi/phases/ostree_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/ostree_container.py b/pungi/phases/ostree_container.py index bd2fd4e0..18add3dc 100644 --- a/pungi/phases/ostree_container.py +++ b/pungi/phases/ostree_container.py @@ -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) )