From: Petr Štetiar Date: Thu, 14 Jan 2021 17:32:33 +0000 (+0100) Subject: phase1,2: fix missing tmp dir X-Git-Tag: v1~44 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=79d279d596818e77719f30ef3a9c971c0f4bce06;p=buildbot.git phase1,2: fix missing tmp dir Silence the missing tmp dir warning in the source.git. Signed-off-by: Petr Štetiar --- diff --git a/phase1/master.cfg b/phase1/master.cfg index 5a20804..b32096b 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -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') diff --git a/phase2/master.cfg b/phase2/master.cfg index 58c5e57..d3ad8b6 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -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')