mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-17 06:27:16 -04: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user