Richard Hughes
fe68ff584f
Make the version parsing more resilient to corrupt firmware
2015-07-03 12:37:56 +01:00
Richard Hughes
53fc7961dc
trivial: Remove a magic number introduced with the last patch
2015-07-01 14:12:15 +01:00
Richard Hughes
885128a7c8
Keep hitting the hardware until it gives us enough ROM
2015-07-01 14:06:28 +01:00
Richard Hughes
5e330b0f0c
Fix trivial bug when parsing firmware versions
2015-07-01 13:30:23 +01:00
Richard Hughes
46535115ee
trivial: Remove debug info that snuck in
2015-07-01 13:05:01 +01:00
Richard Hughes
5dc6f5ccfc
Add a 'verify-update' command to fwupdmgr
...
This allows us to do something like:
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57 No metadata
$ find /sys/devices -name rom -exec sudo fwupdmgr verify-update /var/cache/app-info/xmls/fwupd-verify.xml {} \;
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57 OK
$ # flash the firmware
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c 5c946b3950deaf7b102e75be488052afd4dcf16 Failed: for v013.012.000.019.000000 expected f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57
2015-07-01 12:16:09 +01:00
Richard Hughes
826a5698e3
trivial: Always return the verification hash for the first verify run
...
The property is being cached, so re-request the list of devices.
2015-07-01 12:07:07 +01:00
Richard Hughes
5e33bccd54
Accept multiple files at one time when using fwupdmgr dump-rom
2015-07-01 11:53:33 +01:00
Richard Hughes
c14aa63c25
Actually parse the PCI option ROM
...
This allows us to get more details about the firmware.
2015-07-01 11:52:02 +01:00
Richard Hughes
84e1efa65e
trivial: Split out the GUID functionality to a new file
2015-07-01 11:50:38 +01:00
Richard Hughes
7d7a2d3227
trivial: Fix a crash with corrupt firmware files
2015-07-01 11:46:23 +01:00
Richard Hughes
861d0984d5
Do not use the subsystem information when constructing the fake GUID
...
This allows us to match the device with the standalone firmware.
2015-07-01 11:45:25 +01:00
Richard Hughes
c15cd320b6
Fix Intel VBIOS detection on Dell hardware
...
Many thanks to Gerben Welter for reporting the problem.
2015-06-30 20:54:05 +01:00
Richard Hughes
2508a32368
Merge pull request #19 from phomes/master
...
Code cleanup
2015-06-30 20:47:54 +01:00
Thomas Hindoe Paaboel Andersen
7fca610d67
Do not return NULL as a gboolean
2015-06-30 21:00:56 +02:00
Thomas Hindoe Paaboel Andersen
80b85676bb
remove unused variables
2015-06-30 20:47:15 +02:00
Mario Limonciello
7c4e8a64a8
Backport ebfbad71e3
and disable colorhug.
...
Due to a systemd transition in Debian unstable, currently can not
build with colorhug.
2015-06-30 12:46:06 -05:00
Richard Hughes
bd0a50b24e
Merge pull request #18 from jku/build-fix
...
build: gusb is required even without colorhug
2015-06-30 18:17:06 +01:00
Jussi Kukkonen
ebfbad71e3
build: gusb is required even without colorhug
...
Fix build failure when building with --disable-colorhug.
2015-06-30 19:45:31 +03:00
Richard Hughes
174211b979
Provide a way to dump the option ROM using the command line
...
This allows someone to do:
$ find /sys/devices -name rom -exec sudo fwupdmgr dump-rom {} \;
...and get a nice summary of the option roms installed.
2015-06-30 15:40:46 +01:00
Richard Hughes
ac32a2a232
trivial: Fix a crash if the rom filename is invalid
2015-06-30 15:36:36 +01:00
Richard Hughes
ffd5fdf7f2
Get the version number out from Intel VBIOS too
2015-06-30 15:12:28 +01:00
Richard Hughes
4b41e737b1
Make the ROM parsing more robust and add self tests
...
This code can now parse 99.6% of all the user-submitted firmwares from the
http://www.techpowerup.com/vgabios/ database.
2015-06-30 14:00:31 +01:00
Richard Hughes
0453eb31e4
Merge pull request #17 from yaneti/patch-1
...
Revert "man/Makefile.am: Add --sgml to docbook2man invocation"
2015-06-29 12:54:01 +01:00
Richard Hughes
a043c2e376
Add a 'verify' command that verifies the cryptographic hash of device firmware
...
Goes some way towards fixing https://github.com/hughsie/fwupd/issues/15
2015-06-29 12:53:01 +01:00
Richard Hughes
a1e5d86d20
Extract the version string from the ROM in PCI devices
2015-06-29 12:53:01 +01:00
Richard Hughes
ebb58a3495
Add a Udev firmware provider
...
This allows us to support showing firmware updates for VIA USB hubs
2015-06-29 12:53:01 +01:00
Yanko Kaneti
bc5ef52550
Revert "man/Makefile.am: Add --sgml to docbook2man invocation"
...
This reverts commit b4143665fe
.
docbook-utils' docbook2man doesn't have a --sgml flag
and is arguably a more modern utility compared to docbook2man
from docbook2X
2015-06-29 14:48:20 +03:00
Richard Hughes
a5f06a895d
Merge pull request #16 from yaneti/patch-1
...
Fix fwupd-offline-update.service
2015-06-29 11:50:40 +01:00
Yanko Kaneti
afa912bf67
Fix fwupd-offline-update.service
...
data/fwupd-offiline-update.service is not in AC_CONFIG_FILES so make sure to substitute bindir
2015-06-29 13:47:49 +03:00
Richard Hughes
ffd2c8b328
trivial: Update the README
...
We now have LVFS as an option :)
2015-06-25 16:40:39 +01:00
Richard Hughes
ae0efdc5a7
Provide a way for clients to add new firmware metadata to the system cache
...
This is only possible if the metadata has been signed by a key that we trust.
2015-06-25 09:59:53 +01:00
Mario Limonciello
f4a0facfe3
Set -D_FILE_OFFSET_BITS=64 to fix FTBFS on i386
...
There is precedent to do this in packaging.
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546678
2015-06-18 02:44:44 -05:00
Mario Limonciello
3d94ba1d26
Only run configure once
2015-06-18 02:17:28 -05:00
Mario Limonciello
376581ed5b
Split into libfwupd1 so other packages can use symbols.
2015-06-18 02:03:07 -05:00
Mario Limonciello
2dc54245f9
Remove empty maintainer scripts
2015-06-18 01:48:49 -05:00
Mario Limonciello
ae8582aa24
Optionally build without systemd installed
2015-06-18 01:46:23 -05:00
Mario Limonciello
3bedd22a69
Fix manpage installation
2015-06-18 01:44:43 -05:00
Mario Limonciello
90f7dd126f
Disable test suite for now.
...
it's failing to run, see this issue for more information:
https://github.com/hughsie/fwupd/issues/14
2015-06-18 01:21:56 -05:00
Mario Limonciello
e91a957e92
Add valgrind to b-d for tests
2015-06-18 00:39:23 -05:00
Mario Limonciello
358ef8098a
Fetch tarballs from github. The tarballs that are built on freedesktop seem to have diffs from git that are not resolvable
2015-06-18 00:14:05 -05:00
Mario Limonciello
e6f9b7b381
Revert "Include a fix for building on newer colorhug. See https://github.com/hughsie/fwupd/pull/13 for more details"
...
This reverts commit 5249eb2db2
.
Turns out this was a badly set up enviroment and this patch isn't needed.
2015-06-13 19:34:18 -05:00
Daniel Jared Dominguez
b8ee4bbeb6
uncomment VCS links in debian/control
2015-06-12 14:47:07 -05:00
Mario Limonciello
5249eb2db2
Include a fix for building on newer colorhug. See https://github.com/hughsie/fwupd/pull/13 for more details
2015-06-10 02:56:59 -05:00
Mario Limonciello
6bf5bb165e
Make sure that a new enough version of glib is installed for b-d.
...
We need this:
G_DBUS_ERROR_UNKNOWN_PROPERTY
2015-06-10 01:02:35 -05:00
Daniel Jared Dominguez
1f9ab1155b
initial Debian commit
2015-06-09 19:47:47 -05:00
Richard Hughes
595f59c8e5
Merge pull request #12 from vathpela/master
...
Make statements about storing private keys stronger.
2015-06-04 15:41:12 +01:00
Peter Jones
dfc21a3005
Make statements about storing private keys stronger.
...
In particular, say that keys should always be on HSMs.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-06-04 10:11:26 -04:00
Richard Hughes
6d7983bdfa
trivial: Do not used munged release tags
2015-06-03 17:23:57 +01:00
Richard Hughes
fda0d2afb8
Merge pull request #11 from jjardon/jjardon/man-fix
...
man/Makefile.am: Add --sgml to docbook2man invocation
2015-06-02 15:44:11 +01:00