Fix getting compose topdir in CreateImage build thread

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2015-12-17 10:17:26 +00:00 committed by Dennis Gilmore
parent 0e237db5f6
commit 7a965bcb83

View File

@ -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(",","-")))