After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690021 - installer: Separate out drivers cache by arch
installer: Separate out drivers cache by arch
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: installer
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-12-11 02:07 UTC by Zeeshan Ali
Modified: 2016-03-31 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
installer: Separate out drivers cache by arch (1.29 KB, patch)
2012-12-11 02:07 UTC, Zeeshan Ali
committed Details | Review
downloader: Add checksum support to download() method (3.74 KB, patch)
2012-12-12 13:50 UTC, Zeeshan Ali
none Details | Review
configure: Bump libosinfo dependency to >= 0.2.3 (725 bytes, patch)
2012-12-12 13:50 UTC, Zeeshan Ali
none Details | Review
installer: Make use of driver file checksums (1.24 KB, patch)
2012-12-12 13:50 UTC, Zeeshan Ali
none Details | Review

Description Zeeshan Ali 2012-12-11 02:07:21 UTC
See patch.
Comment 1 Zeeshan Ali 2012-12-11 02:07:23 UTC
Created attachment 231230 [details] [review]
installer: Separate out drivers cache by arch

Use driver architecture string as part of driver filenames so that cache
is separate for each architecture.
Comment 2 Zeeshan Ali 2012-12-12 13:50:33 UTC
Created attachment 231367 [details] [review]
downloader: Add checksum support to download() method

If download() is provided a checksum, use it to verify:

1. The file is up2date if already downloaded.
2. integrity of file after downloading it.
Comment 3 Zeeshan Ali 2012-12-12 13:50:38 UTC
Created attachment 231368 [details] [review]
configure: Bump libosinfo dependency to >= 0.2.3
Comment 4 Zeeshan Ali 2012-12-12 13:50:42 UTC
Created attachment 231369 [details] [review]
installer: Make use of driver file checksums
Comment 5 Christophe Fergeau 2012-12-14 23:34:24 UTC
gvfs-info http://zeenix.fedorapeople.org/drivers/win-tools/preinst/winxp/amd64/viostor.cat
gives this in wireshark:


HEAD /drivers/win-tools/preinst/winxp/amd64/viostor.cat HTTP/1.1
Host: zeenix.fedorapeople.org
Accept-Encoding: gzip, deflate
User-Agent: gvfs/1.14.2
Accept-Language: fr-fr, fr;q=0.9
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Fri, 14 Dec 2012 23:31:50 GMT
Server: Apache/2.2.15
Last-Modified: Mon, 26 Nov 2012 21:55:29 GMT
ETag: "1f3c-4cf6cfdddd5bf"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 4982
Connection: close
Content-Type: text/plain; charset=UTF-8
Comment 6 Christophe Fergeau 2012-12-14 23:34:40 UTC
wrong bug
Comment 7 Alexander Larsson 2012-12-17 08:46:34 UTC
Review of attachment 231230 [details] [review]:

ack
Comment 8 Zeeshan Ali 2012-12-17 14:14:40 UTC
Attachment 231230 [details] pushed as b38994b - installer: Separate out drivers cache by arch