]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: install dokany 2115/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 Feb 2023 08:41:06 +0000 (10:41 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 Feb 2023 08:49:15 +0000 (10:49 +0200)
Dokany is required in order to map cephfs on Windows through
ceph-dokan.

For this reason, we're updating the Windows image build script
to include Dokany.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
ceph-windows-image-build/build/setup.ps1

index 60cd4dc544d52a995310e82130cb944151b6df8e..06fb550699a6f08a86ce0ec14bbaf1a8e60e1882 100644 (file)
@@ -7,6 +7,7 @@ $VS_2019_BUILD_TOOLS_URL = "https://aka.ms/vs/16/release/vs_buildtools.exe"
 $WDK_URL = "https://download.microsoft.com/download/7/d/6/7d602355-8ae9-414c-ae36-109ece2aade6/wdk/wdksetup.exe"  # Windows 11 WDK (22000.1). It can be used to develop drivers for previous OS releases.
 $PYTHON3_URL = "https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exe"
 $FIO_URL = "https://bsdio.com/fio/releases/fio-3.27-x64.msi"
+$DOKANY_URL = "https://github.com/dokan-dev/dokany/releases/download/v2.0.6.1000/Dokan_x64.msi"
 
 $WNBD_GIT_REPO = "https://github.com/ceph/wnbd.git"
 $WNBD_GIT_BRANCH = "main"
@@ -208,6 +209,11 @@ function Install-FIO {
     Write-Output "Successfully installed FIO"
 }
 
+function Install-Dokany {
+    Write-Output "Installing Dokany"
+    Install-Tool -URL $DOKANY_URL -Params @("/quiet", "/norestart")
+    Write-Output "Successfully installed Dokany"
+}
 
 Get-WindowsBuildInfo
 Install-Requirements
@@ -215,6 +221,7 @@ Install-VisualStudio2019BuildTools
 Install-WDK
 Install-Git
 Install-WnbdDriver
+Install-Dokany
 Install-Python3
 Install-Wix3Toolset
 Install-FIO