phase1,2: fix missing tmp dir
authorPetr Štetiar <ynezz@true.cz>
Thu, 14 Jan 2021 17:32:33 +0000 (18:32 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 2 Mar 2021 11:47:11 +0000 (12:47 +0100)
Silence the missing tmp dir warning in the source.git.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg
phase2/master.cfg

index 5a20804e9cd49be31940ffcc6f6922da7942a185..b32096bad144d212791c265b9bda9ab6383d567d 100644 (file)
@@ -207,6 +207,7 @@ if not os.path.isdir(work_dir+'/source.git'):
 else:
        subprocess.call(["git", "pull"], cwd = work_dir+'/source.git')
 
+os.makedirs(work_dir+'/source.git/tmp', exist_ok=True)
 findtargets = subprocess.Popen(['./scripts/dump-target-info.pl', 'targets'],
        stdout = subprocess.PIPE, cwd = work_dir+'/source.git')
 
index 58c5e5795dfe069e31364735a6213fa6b1b2ad16..d3ad8b6841ff1a689deb2cf0b379767829ce247f 100644 (file)
@@ -163,6 +163,7 @@ if not os.path.isdir(work_dir+'/source.git'):
 else:
        subprocess.call(["git", "pull"], cwd = work_dir+'/source.git')
 
+os.makedirs(work_dir+'/source.git/tmp', exist_ok=True)
 findarches = subprocess.Popen(['./scripts/dump-target-info.pl', 'architectures'],
        stdout = subprocess.PIPE, cwd = work_dir+'/source.git')