From 8acd2c96895e20a578ad0f7310d82ee47870de51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 16 May 2019 10:38:33 +0200 Subject: [PATCH] buildinstall: Create toplevel directory on compose host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using lorax, this directory will contain subdirectories for individual variants. Those are created in runroot and their ownership and permissions are fixed there. However the top level dir was only created and not updated. JIRA: COMPOSE-3545 Signed-off-by: Lubomír Sedlář --- pungi/phases/buildinstall.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pungi/phases/buildinstall.py b/pungi/phases/buildinstall.py index f2ea8bda..43990240 100644 --- a/pungi/phases/buildinstall.py +++ b/pungi/phases/buildinstall.py @@ -151,6 +151,7 @@ class BuildinstallPhase(PhaseBase): output_dir = self.compose.paths.work.buildinstall_dir(arch, allow_topdir_override=True) final_output_dir = self.compose.paths.work.buildinstall_dir(arch, allow_topdir_override=False) + makedirs(final_output_dir) repo_baseurl = self.compose.paths.work.arch_repo(arch) if final_output_dir != output_dir: repo_baseurl = translate_path(self.compose, repo_baseurl)