'0ecc2017802924cf81fffc0f51d342e3e69de6343da892ac9fa1cd79bc106024'),
('https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip',
'f01788946733bf6294a36727b99366a18369904eb068a599dde8cca2c1d2ba3c'),
+ ('https://dl.google.com/android/repository/android-ndk-r16-linux-x86_64.zip',
+ 'a8550b81771c67cc6ab7b479a6918d29aa78de3482901762b4f9e0132cd9672e'),
('https://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-android-5.7.0.run',
'f7e55b7970e59bdaabb88cb7afc12e9061e933992bda2f076f52600358644586'),
]
for d in ('.m2', '.gradle/caches', '.gradle/wrapper', '.pip_download_cache'):
fullpath = os.path.join(os.getenv('HOME'), d)
if os.path.isdir(fullpath):
- # TODO newer versions of vagrant provide `vagrant rsync`
+ ssh_command = ' '.join(('ssh -i {0} -p {1}'.format(key, port),
+ '-o StrictHostKeyChecking=no',
+ '-o UserKnownHostsFile=/dev/null',
+ '-o LogLevel=FATAL',
+ '-o IdentitiesOnly=yes',
+ '-o PasswordAuthentication=no'))
+ # TODO vagrant 1.5+ provides `vagrant rsync`
run_via_vagrant_ssh(v, ['cd ~ && test -d', d, '|| mkdir -p', d])
subprocess.call(['rsync', '-axv', '--progress', '--delete', '-e',
- 'ssh -i {0} -p {1} -oIdentitiesOnly=yes'.format(key, port),
+ ssh_command,
fullpath + '/',
user + '@' + hostname + ':~/' + d + '/'])