Re: [nsis] Fix driver path for win2k*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/26/2017 09:47 AM, Christophe Fergeau wrote:
On the virtio-win ISO, the win2k* drivers are in a path of the form
'2k*', while the installer is looking for them in 'w2k*', and thus
failing.
This commit fixes the various paths

This should fix https://bugzilla.redhat.com/show_bug.cgi?id=1416533 and
https://bugzilla.redhat.com/show_bug.cgi?id=1416579

Hi Christophe,

Looks good to me.
Ack.

Thanks,
    Uri.

---
 win-guest-tools.nsis | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 5f212f7..288e8a3 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -288,17 +288,17 @@ Function GetDriverSubdir
    ${ElseIf} ${IsWin7}
       StrCpy $0 "$0\w7"
    ${ElseIf} ${IsWin2008}
-      StrCpy $0 "$0\w2k8"
+      StrCpy $0 "$0\2k8"
    ${ElseIf} ${IsWin2008R2}
-      StrCpy $0 "$0\w2k8R2"
+      StrCpy $0 "$0\2k8R2"
    ${ElseIf} ${IsWin8}
       StrCpy $0 "$0\w8"
    ${ElseIf} ${IsWin2012}
-      StrCpy $0 "$0\w2k12"
+      StrCpy $0 "$0\2k12"
    ${ElseIf} ${IsWin8.1}
       StrCpy $0 "$0\w8.1"
    ${ElseIf} ${IsWin2012R2}
-      StrCpy $0 "$0\w2k12r2"
+      StrCpy $0 "$0\2k12r2"
    ${ElseIf} ${IsWin10}
       StrCpy $0 "$0\w10"
    ${Else}


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]