buildinstall: Create toplevel directory on compose host
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ář <lsedlar@redhat.com>
This commit is contained in:
parent
a74470c18d
commit
8acd2c9689
@ -151,6 +151,7 @@ class BuildinstallPhase(PhaseBase):
|
|||||||
|
|
||||||
output_dir = self.compose.paths.work.buildinstall_dir(arch, allow_topdir_override=True)
|
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)
|
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)
|
repo_baseurl = self.compose.paths.work.arch_repo(arch)
|
||||||
if final_output_dir != output_dir:
|
if final_output_dir != output_dir:
|
||||||
repo_baseurl = translate_path(self.compose, repo_baseurl)
|
repo_baseurl = translate_path(self.compose, repo_baseurl)
|
||||||
|
Loading…
Reference in New Issue
Block a user