1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

makebuildserver: ensure vagrant share block symlinks to the host

* https://phoenhex.re/2018-03-25/not-a-vagrant-bug
* https://github.com/hashicorp/vagrant/pull/10792/files
This commit is contained in:
Hans-Christoph Steiner 2020-01-14 22:51:19 +01:00
parent 0fa1f91a23
commit e6b2134d2e
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -531,6 +531,10 @@ def main():
open(logfilename, 'a').close() # create blank file
log_cm = vagrant.make_file_cm(logfilename)
v = vagrant.Vagrant(root=serverdir, out_cm=log_cm, err_cm=log_cm)
# https://phoenhex.re/2018-03-25/not-a-vagrant-bug
os_env = os.environ.copy()
os_env['VAGRANT_DISABLE_VBOXSYMLINKCREATE'] = '1'
v.env = os_env
if options.verbosity >= 2:
tail = fdroidserver.tail.Tail(logfilename)