Virtio 0.1.185, closes #7836 @0.5h

This commit is contained in:
Peter V. Beck 2020-08-23 11:41:09 +02:00
parent 6f7faeca59
commit 335a858091
3 changed files with 7 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>kvm-virtio-drivers</id> <id>kvm-virtio-drivers</id>
<version>0.1.171</version> <version>0.1.185</version>
<title>KVM Virtio Drivers for Windows</title> <title>KVM Virtio Drivers for Windows</title>
<authors>Red Hat</authors> <authors>Red Hat</authors>
<owners>foo.li systeme + software</owners> <owners>foo.li systeme + software</owners>
@ -14,7 +14,7 @@
This package will download the latest stable drivers, unzip them and tries automatically to update/install needed drivers. 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).</description> Note: for the QEMU guest agent there is a separate package available (which already uses this package as dependency).</description>
<summary>KVM Virtio Drivers</summary> <summary>KVM Virtio Drivers</summary>
<releaseNotes>upgrade to 0.1.171</releaseNotes> <releaseNotes>upgrade to 0.1.185 (2020-07-21), added Server 2019 in script</releaseNotes>
<tags>virtualisation kvm virtio guest-agents drivers</tags> <tags>virtualisation kvm virtio guest-agents drivers</tags>
</metadata> </metadata>
<!-- building package on gnu/linux with nuget (https://packages.debian.org/stretch/nuget) <!-- building package on gnu/linux with nuget (https://packages.debian.org/stretch/nuget)

View File

@ -7,7 +7,7 @@
# [system.IO.file]::WriteAllBytes("C:\Temp\RedHat.cer", $CertToExportInBytesForCERFile) # [system.IO.file]::WriteAllBytes("C:\Temp\RedHat.cer", $CertToExportInBytesForCERFile)
$packageName = 'kvm-virtio-drivers' $packageName = 'kvm-virtio-drivers'
$version = '0.1.171' $version = '0.1.185'
$url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso' $url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso'
$url64 = $url $url64 = $url
$virtioPath = "$env:SystemDrive" + "\Virtio_" + $version $virtioPath = "$env:SystemDrive" + "\Virtio_" + $version
@ -16,7 +16,7 @@ $dpinst = Join-Path $scriptPath 'dpinstX86.exe'
$dpinst64 = Join-Path $scriptPath 'dpinstX64.exe' $dpinst64 = Join-Path $scriptPath 'dpinstX64.exe'
$dpinstxml = Join-Path $scriptPath 'dpinst.xml' $dpinstxml = Join-Path $scriptPath 'dpinst.xml'
$cleanupdrv = Join-Path $scriptPath 'cleanfolder.ps1' $cleanupdrv = Join-Path $scriptPath 'cleanfolder.ps1'
$checksum = '4f37af23d97855caf37c534854bf008bbe2e8b74' $checksum = 'd915703d2f42eb60f5542f9ab2e6e873feb84075'
$checksumType = 'sha1' $checksumType = 'sha1'
$checksum64 = $checksum $checksum64 = $checksum
$checksumType64 = $checksumType $checksumType64 = $checksumType
@ -66,6 +66,7 @@ try {
"*Server 2012 R2*" { Write-Host "Server 2012 R2 detected";$d="2k12R2";break } "*Server 2012 R2*" { Write-Host "Server 2012 R2 detected";$d="2k12R2";break }
"*Server 2012*" { Write-Host "Server 2012 detected";$d="2k12";break } "*Server 2012*" { Write-Host "Server 2012 detected";$d="2k12";break }
"*Server 2016*" { Write-Host "Server 2016 detected";$d="2k16";break } "*Server 2016*" { Write-Host "Server 2016 detected";$d="2k16";break }
"*Server 2019*" { Write-Host "Server 2019 detected";$d="2k19";break }
default {"unknown/unsupported os"; exit 1 } default {"unknown/unsupported os"; exit 1 }
} }
@ -104,6 +105,7 @@ try {
Write-Host '[INFO]: removing previous virtio-driver versions' 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.126" -Force -Recurse -ErrorAction SilentlyContinue
Remove-Item "${env:SystemDrive}\Virtio_0.1.141" -Force -Recurse -ErrorAction SilentlyContinue Remove-Item "${env:SystemDrive}\Virtio_0.1.141" -Force -Recurse -ErrorAction SilentlyContinue
Remove-Item "${env:SystemDrive}\Virtio_0.1.171" -Force -Recurse -ErrorAction SilentlyContinue
} catch { } catch {
throw $_.Exception throw $_.Exception
} }

View File

@ -2,7 +2,7 @@
# 2017-2020 foo.li systeme + software # 2017-2020 foo.li systeme + software
$packageName = 'kvm-virito-drivers' $packageName = 'kvm-virito-drivers'
$version = '0.1.171' $version = '0.1.185'
$virtioPath = "$env:SystemDrive" + "\Virtio_" + $version $virtioPath = "$env:SystemDrive" + "\Virtio_" + $version
try { try {