From 7a965bcb83e3e3712cb64ce64eba4432e64de046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 17 Dec 2015 10:17:26 +0000 Subject: [PATCH] Fix getting compose topdir in CreateImage build thread MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- pungi/phases/image_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/image_build.py b/pungi/phases/image_build.py index aad3f985..613914b3 100644 --- a/pungi/phases/image_build.py +++ b/pungi/phases/image_build.py @@ -67,7 +67,7 @@ class CreateImageBuildThread(WorkerThread): def process(self, item, num): compose, cmd = item - mounts = [compose.topdir] + mounts = [compose.paths.compose.topdir()] if "mount" in cmd: mounts.append(cmd["mount"]) log_file = compose.paths.log.log_file(cmd["image_conf"]["arches"], "imagebuild-%s-%s-%s" % (cmd["image_conf"]["arches"], cmd["image_conf"]["variant"], cmd['image_conf']['format'].replace(",","-")))