From 3df4853123547d63fb7c7523d0c56ff64cc68b49 Mon Sep 17 00:00:00 2001 From: Peter Beck Date: Sun, 10 May 2020 15:53:10 +0200 Subject: [PATCH] KVM Virtio Drivers 0.1.171 --- .../kvm-virtio-drivers.nuspec | 39 +++++++++++-------- .../tools/chocolateyinstall.ps1 | 11 +++--- .../tools/chocolateyuninstall.ps1 | 8 ++-- 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/packages/kvm-virtio-drivers/kvm-virtio-drivers.nuspec b/packages/kvm-virtio-drivers/kvm-virtio-drivers.nuspec index 3129f86..40337df 100755 --- a/packages/kvm-virtio-drivers/kvm-virtio-drivers.nuspec +++ b/packages/kvm-virtio-drivers/kvm-virtio-drivers.nuspec @@ -1,20 +1,25 @@  - - kvm-virtio-drivers - 0.1.141 - KVM Virtio Drivers for Windows - Red Hat - foo.li systeme + software - https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html - https://fedoraproject.org/wiki/Windows_Virtio_Drivers - https://git.foo.li/peter/chocolatey/raw/branch/master/icons/kvm.png - true - virtio drivers for Windows virtual machines running on KVM, and additional software agents for Windows VMs. - This package will download the latest stable drivers, unzip them and tries automatically to update/install needed drivers. - Note: for the QEMU guest agent there is a separate package available (which already uses this package as dependency). - KVM Virtio Drivers - upgrade to 0.1.141 - virtualisation kvm virtio guest-agents drivers - + + kvm-virtio-drivers + 0.1.171 + KVM Virtio Drivers for Windows + Red Hat + foo.li systeme + software + https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html + https://fedoraproject.org/wiki/Windows_Virtio_Drivers + https://git.foo.li/peter/chocolatey/raw/branch/master/icons/kvm.png + true + virtio drivers for Windows virtual machines running on KVM, and additional software agents for Windows VMs. + This package will download the latest stable drivers, unzip them and tries automatically to update/install needed drivers. + Note: for the QEMU guest agent there is a separate package available (which already uses this package as dependency). + KVM Virtio Drivers + upgrade to 0.1.171 + virtualisation kvm virtio guest-agents drivers + + + + + diff --git a/packages/kvm-virtio-drivers/tools/chocolateyinstall.ps1 b/packages/kvm-virtio-drivers/tools/chocolateyinstall.ps1 index f8da0a7..fa46876 100755 --- a/packages/kvm-virtio-drivers/tools/chocolateyinstall.ps1 +++ b/packages/kvm-virtio-drivers/tools/chocolateyinstall.ps1 @@ -1,13 +1,13 @@ # Virtio Drivers for Windows VMs running on KVM -# 2011-2017 foo.li systeme + software - +# 2011-2020 foo.li systeme + software + # export installed redhat certificate to a file with win7 # $CertToExport = dir cert:\LocalMachine -Recurse | where {$_.ThumbPrint -eq "66ED6843B0F6DC9B636C6814E53A26983EF32B4E"} # $CertToExportInBytesForCERFile = $CertToExport.export("Cert") # [system.IO.file]::WriteAllBytes("C:\Temp\RedHat.cer", $CertToExportInBytesForCERFile) $packageName = 'kvm-virtio-drivers' -$version = '0.1.141' +$version = '0.1.171' $url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso' $url64 = $url $virtioPath = "$env:SystemDrive" + "\Virtio_" + $version @@ -16,7 +16,7 @@ $dpinst = Join-Path $scriptPath 'dpinstX86.exe' $dpinst64 = Join-Path $scriptPath 'dpinstX64.exe' $dpinstxml = Join-Path $scriptPath 'dpinst.xml' $cleanupdrv = Join-Path $scriptPath 'cleanfolder.ps1' -$checksum = '43AEFA812C37342CFEFC48EC0DD7F1E56A930FCD' +$checksum = '4f37af23d97855caf37c534854bf008bbe2e8b74' $checksumType = 'sha1' $checksum64 = $checksum $checksumType64 = $checksumType @@ -100,9 +100,10 @@ try { Write-Host 'the driver wizard will still run for quiet some time.' #Start-ChocolateyProcessAsAdmin -Statements "/q /se /sw /sa /path $virtioPath" -ExeToRun $dpinstaller & $dpinstaller /S /SA /SE /SW /PATH $virtioPath - Write-Host '[INFO]: The Logfile for the driver installations is %windir%\DPINST.LOG' + Write-Host '[INFO]: The Logfile for the driver installations is %windir%\DPINST.LOG' Write-Host '[INFO]: removing previous virtio-driver versions' Remove-Item "${env:SystemDrive}\Virtio_0.1.126" -Force -Recurse -ErrorAction SilentlyContinue + Remove-Item "${env:SystemDrive}\Virtio_0.1.141" -Force -Recurse -ErrorAction SilentlyContinue } catch { throw $_.Exception } diff --git a/packages/kvm-virtio-drivers/tools/chocolateyuninstall.ps1 b/packages/kvm-virtio-drivers/tools/chocolateyuninstall.ps1 index ae70431..b23ce1b 100755 --- a/packages/kvm-virtio-drivers/tools/chocolateyuninstall.ps1 +++ b/packages/kvm-virtio-drivers/tools/chocolateyuninstall.ps1 @@ -1,14 +1,14 @@ -# Spice Guest Tools Removal -# 2017 foo.li systeme + software +# virtio windows drivers Removal +# 2017-2020 foo.li systeme + software $packageName = 'kvm-virito-drivers' -$version = '0.1.126' +$version = '0.1.171' $virtioPath = "$env:SystemDrive" + "\Virtio_" + $version try { if (Test-Path $virtioPath) { Write-Host 'removing directory ' $virtioPath - Remove-Item $virtioPath -Recurse -Force + Remove-Item $virtioPath -Recurse -Force } else { Write-Host 'could not detect ' $virtioPath ' files.' }