create-workspace: make assumption if linux64 failed to compile

This commit is contained in:
Oleksii Shevchuk 2020-03-29 18:32:41 +03:00
parent 64754567de
commit 3096453db9
1 changed files with 7 additions and 1 deletions

View File

@ -274,7 +274,13 @@ def build_templates(
'client/' + TEMPLATES[template] + '/build-docker.sh'
])
try:
subprocess.check_call(args, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
if e.returncode == 139 and template == 'linux64':
print("[!] Likely you must to enable vsyscall=emulate")
raise
if persistent:
update_commands.append(