mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 08:45:13 +00:00
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.
This commit is contained in:
parent
902c423086
commit
0f7493299c
1 changed files with 3 additions and 2 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -174,8 +174,9 @@ def packages_cygwin(version)
|
||||||
set OURPATH=%cd%
|
set OURPATH=%cd%
|
||||||
set CYGBUILD="C:\\cygwin\\CygWin"
|
set CYGBUILD="C:\\cygwin\\CygWin"
|
||||||
set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/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
|
set BASEPKGS=openssh,rsync
|
||||||
%CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS%
|
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
|
cd /d C:\\cygwin\\CygWin\\bin
|
||||||
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
||||||
bash -c "ssh-host-config --no"
|
bash -c "ssh-host-config --no"
|
||||||
|
|
Loading…
Reference in a new issue