|
|
@ -31,8 +31,10 @@ def setup():
|
|
|
|
subprocess.check_call(['git', 'checkout', 'c0f77ca018cb5332bfd595e0aff0468f77542c23'])
|
|
|
|
subprocess.check_call(['git', 'checkout', 'c0f77ca018cb5332bfd595e0aff0468f77542c23'])
|
|
|
|
os.makedirs('inputs', exist_ok=True)
|
|
|
|
os.makedirs('inputs', exist_ok=True)
|
|
|
|
os.chdir('inputs')
|
|
|
|
os.chdir('inputs')
|
|
|
|
if not os.path.isdir('monero'):
|
|
|
|
if os.path.isdir('monero'):
|
|
|
|
subprocess.check_call(['git', 'clone', args.url, 'monero'])
|
|
|
|
# Remove the potentially stale monero dir. Otherwise you might face submodule mismatches.
|
|
|
|
|
|
|
|
subprocess.check_call(['rm', 'monero', '-fR'])
|
|
|
|
|
|
|
|
subprocess.check_call(['git', 'clone', args.url, 'monero'])
|
|
|
|
os.chdir('..')
|
|
|
|
os.chdir('..')
|
|
|
|
make_image_prog = ['bin/make-base-vm', '--suite', 'bionic', '--arch', 'amd64']
|
|
|
|
make_image_prog = ['bin/make-base-vm', '--suite', 'bionic', '--arch', 'amd64']
|
|
|
|
if args.docker:
|
|
|
|
if args.docker:
|
|
|
|