lsedlar / pungi

Forked from pungi 8 years ago
Clone

6fbf1e8 Create temporary dirs under compose's workdir

Authored and Committed by qwan 7 years ago
    Create temporary dirs under compose's workdir
    
    Add compose.mkdtemp which creates and returns a unique temporary
    directory under <compose_topdir>/work/{global,<arch>}/tmp[-<variant>]/
    
    Change tempfile.mkdtemp in code to compose.mkdtemp, so temporary
    dirs are created under the compose's workdir, this makes it more
    easier to maintain the temporary dirs/files especially when compose
    fails with amount of temporary files left there.
    
    Signed-off-by: Qixiang Wan <qwan@redhat.com>
    
        
file modified
+9 -1
file modified
+3 -2
file modified
+5 -6
file modified
+1 -2
file modified
+1 -2
file modified
+6 -7
file modified
+2 -3
file modified
+6 -1
file modified
+18 -9
file modified
+28 -0