unified-iso: Create work/ dir if missing
In theory the directory could be deleted before generating the isos. This patch will recreate it when needed. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
b93e0fd4ab
commit
dc19363a5c
@ -66,6 +66,7 @@ class UnifiedISO(object):
|
||||
self.linker = pungi.linker.Linker()
|
||||
|
||||
temp_topdir = os.path.abspath(os.path.join(self.compose_path, "..", "work"))
|
||||
makedirs(temp_topdir)
|
||||
self.temp_dir = tempfile.mkdtemp(prefix="unified_isos_", dir=temp_topdir)
|
||||
|
||||
self.treeinfo = {} # {arch/src: TreeInfo}
|
||||
|
Loading…
Reference in New Issue
Block a user