diff options
author | Richard Hughes <richard@hughsie.com> | 2015-10-18 19:40:20 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-10-18 20:02:52 +0100 |
commit | 9ca22266eb355d96ff521822964c18de63cb4341 (patch) | |
tree | 37bdac2abd408cdc83e22d4ed4ae9508565d2364 /data | |
parent | 4c9f8fdd43c4be5159f4e4a41f95fb82738e17df (diff) | |
download | appstream-glib-9ca22266eb355d96ff521822964c18de63cb4341.tar.gz |
Do not use the DriverVersion for the inf file version
Fixes half of https://github.com/hughsie/fwupd/issues/34
Diffstat (limited to 'data')
-rw-r--r-- | data/tests/example.inf | 2 | ||||
-rw-r--r-- | data/tests/firmware/2_0_0/firmware.inf | 3 | ||||
-rw-r--r-- | data/tests/firmware/2_0_1/firmware.inf | 1 | ||||
-rw-r--r-- | data/tests/firmware/2_0_2/firmware.inf | 3 |
4 files changed, 6 insertions, 3 deletions
diff --git a/data/tests/example.inf b/data/tests/example.inf index 86aa20a..98d1330 100644 --- a/data/tests/example.inf +++ b/data/tests/example.inf @@ -26,7 +26,7 @@ AddReg = Firmware_AddReg [Firmware_AddReg] HKR,,FirmwareId,,{84f40464-9272-4ef7-9399-cd95f12da695} -HKR,,FirmwareVersion,%REG_DWORD%, 0x0000000 +HKR,,FirmwareVersion,%REG_DWORD%, 0x00020002 HKR , , FirmwareFilename , , "firmware.bin" [SourceDisksNames] diff --git a/data/tests/firmware/2_0_0/firmware.inf b/data/tests/firmware/2_0_0/firmware.inf index 5c38614..af863bf 100644 --- a/data/tests/firmware/2_0_0/firmware.inf +++ b/data/tests/firmware/2_0_0/firmware.inf @@ -12,10 +12,11 @@ firmware.bin [Firmware_AddReg] HKR,,FirmwareId,,{84f40464-9272-4ef7-9399-cd95f12da696} -HKR,,FirmwareVersion,%REG_DWORD%,0x0000000 +HKR,,FirmwareVersion,%REG_DWORD%,0x20000 HKR,,FirmwareFilename,,firmware.bin [Strings] Provider = "Hughski Limited" FirmwareDesc = "ColorHug Firmware" DiskName = "Firmware for the ColorHug Colorimeter" +REG_DWORD = 0x00010001 diff --git a/data/tests/firmware/2_0_1/firmware.inf b/data/tests/firmware/2_0_1/firmware.inf index 1f04754..41664ae 100644 --- a/data/tests/firmware/2_0_1/firmware.inf +++ b/data/tests/firmware/2_0_1/firmware.inf @@ -18,3 +18,4 @@ HKR,,FirmwareFilename,,firmware.bin Provider = "Hughski Limited" FirmwareDesc = "ColorHug Firmware" DiskName = "Firmware for the ColorHug Colorimeter" +REG_DWORD = 0x00010001 diff --git a/data/tests/firmware/2_0_2/firmware.inf b/data/tests/firmware/2_0_2/firmware.inf index 28a21b5..1261c0a 100644 --- a/data/tests/firmware/2_0_2/firmware.inf +++ b/data/tests/firmware/2_0_2/firmware.inf @@ -11,10 +11,11 @@ firmware.bin [Firmware_AddReg] HKR,,FirmwareId,,{84f40464-9272-4ef7-9399-cd95f12da696} -HKR,,FirmwareVersion,%REG_DWORD%,0x0000000 +HKR,,FirmwareVersion,%REG_DWORD%,0x00020002 HKR,,FirmwareFilename,,firmware.bin [Strings] Provider = "Hughski Limited" FirmwareDesc = "ColorHug Firmware" DiskName = "Firmware for the ColorHug Colorimeter" +REG_DWORD = 0x00010001 |