From 0f7493299c2a81297049571f3091f22fe64f2ca6 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 8 Jan 2017 22:16:54 +0100 Subject: [PATCH] Vagrantfile: Split cygwin packaged to be installed into base and project. The packages which are required for ssh log-in and rsync synchronized folders to work are separated from those specific for the borg project. This makes it easier to reuse in other projects. --- Vagrantfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 81e9ac9c8..8aa3aef09 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -174,8 +174,9 @@ def packages_cygwin(version) set OURPATH=%cd% set CYGBUILD="C:\\cygwin\\CygWin" set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/cygwin/ - set BUILDPKGS=python3,python3-setuptools,binutils,gcc-g++,libopenssl,openssl-devel,git,make,openssh,liblz4-devel,liblz4_1,rsync,curl,python-devel - %CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS% + set BASEPKGS=openssh,rsync + set BUILDPKGS=python3,python3-setuptools,python-devel,binutils,gcc-g++,libopenssl,openssl-devel,git,make,liblz4-devel,liblz4_1,curl + %CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BASEPKGS%,%BUILDPKGS% cd /d C:\\cygwin\\CygWin\\bin regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe" bash -c "ssh-host-config --no"