Commit Graph

9633 Commits

Author SHA1 Message Date
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
Javier Jardón
b4143665fe man/Makefile.am: Add --sgml to docbook2man invocation
This fixes this error:
fwupdmgr.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
fwupdmgr.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
unable to parse fwupdmgr.sgml

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187.
Makefile:612: recipe for target 'fwupdmgr.1' failed
2015-06-02 15:26:40 +01:00
Richard Hughes
c678dfc789 trivial: post release version bump 2015-05-28 09:47:59 +01:00
Richard Hughes
9519149a87 Release fwupd 0.1.3 2015-05-28 09:47:02 +01:00
Richard Hughes
f0d6c86df2 trivial: Print the command message even for internal error 2015-05-21 13:42:10 +01:00
Richard Hughes
d7dba98e68 Move boolean properties on the device to a set of flags
This is much less boilerplate and allows us to expand in the future.
2015-05-05 16:02:20 +01:00
Richard Hughes
c89c1b0e9b Support OpenHardware devices using the fwupd vendor extensions
We won't be able to update these devices ourself, but we can detect if there
are updates available.
2015-05-05 15:22:00 +01:00
Richard Hughes
7504191ee9 Merge pull request #9 from vanillajonathan/patch-3
More markup
2015-05-05 09:38:20 +01:00
Jonathan
ce2868c64d More markup 2015-05-05 00:38:46 +02:00