Commit Graph

4304 Commits

Author SHA1 Message Date
Mario Limonciello
5f6a574fd7 fix some more memory leaks in dell plugin (#158) 2017-07-21 13:17:47 -05:00
Mario Limonciello
24add2222b trivial: debian: correct duplicate descriptions in control file 2017-07-21 13:16:15 -05:00
Richard Hughes
ca52a8541e trivial: Fix self tests after downgrading warnings commit 2017-07-21 15:42:32 +01:00
Richard Hughes
3cca1c65c2 trivial: Remove or downgrade some superfluous warnings
Fixes bugs like https://github.com/hughsie/fwupd/issues/159
2017-07-21 13:38:27 +01:00
Richard Hughes
c3c50fba4c libdfu: Fix a crash if elf32_newehdr() fails 2017-07-21 13:07:00 +01:00
Richard Hughes
061ad8c5e8 trivial: Make fu_dell_detect_dock() slightly more NULL-deref safe 2017-07-19 09:14:56 +01:00
Mario Limonciello
11ca8122c3 Revert "trivial: fix some more memory leaks in dell plugin (#158)"
This reverts commit 49aba8cd87.

That was prematurely committed, my apologies.
2017-07-18 16:00:03 -05:00
Mario Limonciello
32899e5ff7 dell: use plugin hash table instead 2017-07-18 15:53:38 -05:00
Mario Limonciello
49aba8cd87 trivial: fix some more memory leaks in dell plugin (#158) 2017-07-18 15:53:38 -05:00
Mario Limonciello
d817c53697 Correct a memory leak in Dell plugin (Fixes #158) 2017-07-18 10:35:21 -05:00
Richard Hughes
3745e8e481 trivial: Fix spelling of delimiter 2017-07-18 10:20:59 +01:00
Mario Limonciello
ef2079b20a trivial: clarify delimitter in use for fwupd.conf is a semicolon 2017-07-17 14:50:17 -05:00
Mario Limonciello
f6005940e6 debian: enable test suite via /etc/fwupd.conf 2017-07-17 14:46:50 -05:00
Mario Limonciello
47c2e9b6a8 rpm: enable test suite via /etc/fwupd.conf 2017-07-17 14:46:32 -05:00
Mario Limonciello
5033d9c92e Add capability to enable test suite via /etc/fwupd.conf 2017-07-17 14:45:51 -05:00
Mario Limonciello
a8a3c6f6b6 debian: run lintian as part of CI
If any new changes are introduced that break plicy, this should
catch them much sooner.
2017-07-17 14:35:20 -05:00
Mario Limonciello
c29b398ad0 trivial: fix various spelling errors 2017-07-17 13:07:05 -05:00
Mario Limonciello
531a223b80 trivial: debian: recusively cleanup on purge 2017-07-17 12:34:08 -05:00
Mario Limonciello
ed8e4a54cf trivial: debian: remove transient items on purge (Closes: #868464, #868465) 2017-07-17 12:15:28 -05:00
Mario Limonciello
531f6a210a trivial: debian: update standards version 2017-07-17 12:15:28 -05:00
Mario Limonciello
b036d0c4ad trivial: debian: add missing dh-strip-nondeterminism dependency 2017-07-17 12:15:28 -05:00
Mario Limonciello
5ad8555f46 trivial: debian: correct some linitian errors about fwupd-tests 2017-07-17 12:15:28 -05:00
Mario Limonciello
92be642cb4 trivial: debian: move DFU introspection to it's own package 2017-07-17 12:15:22 -05:00
Mario Limonciello
e9bcab0f8f Default to "en" for UEFI capsule graphics
"C" is not a supported locale code per ISO 639-2
see https://lintian.debian.org/tags/unknown-locale-code.html
for more information
2017-07-17 11:56:40 -05:00
Richard Hughes
4851158249 trivial: Fix a -Wsign-compare warning on 32 bit 2017-07-17 16:39:35 +01:00
Richard Hughes
e8b5db66f4 Fix a hang on 32 bit computers
It turns out using a string hash for a pointer object doesn't always work...
2017-07-17 14:18:29 +01:00
Mario Limonciello
5735fd67c1 trivial: set engine back to idle
A regression from 9945edbe74 causes
a missing newline for many actions because it doesn't go back to idle
2017-07-13 16:22:19 -05:00
Mario Limonciello
790701f32b trivial: adjust get-details and get-devices output Display Name output
This returns them back to the more readable 0.8.x behavior where
devices have the name first and then all the details indented.
2017-07-13 16:22:19 -05:00
Richard Hughes
32684f2344 Check all the device GUIDs against the blacklist when added
To the user it's not obvious which is the default GUID.

See https://github.com/hughsie/fwupd/issues/127
2017-07-13 09:32:26 +01:00
Mario Limonciello
8e1297f46d trivial: move compilation instructions to github wiki
New problems will be introduced with software outside of fwupd.
It's better to document compilation difficulties to be expected
in the wiki.
2017-07-10 16:49:53 -05:00
Mario Limonciello
c9ff8f1e33 trivial: Add a Dockerfile for Ubuntu zesty (17.04)
This won't be run through CI (already have Debian coverage)
but it should make it easier to check Ubuntu/Debian deviations
in the future
2017-07-10 16:30:24 -05:00
Mario Limonciello
1d588e0970 trivial: debian: back off polkit-1 dependency
Should allow this to compile in more places now that ITS rules
are packaged locally
2017-07-10 16:30:24 -05:00
Mario Limonciello
df430376fc policy: fix compilation on a variety of configurations
* Meson >=0.41.0, (unreleased) polkit 0.114+ don't use data_dirs argument
* Meson >=0.41.0, older polkit, use local ITS rules with data_dirs argument
* Meson <0.41.0, any polkit, use custom policy building rules

Later on when meson 0.41.0+ and polkit 0.114+ is in many stable distros
this commit can be reverted and dependencies updated.

Fixes: #107
2017-07-10 16:30:24 -05:00
Mario Limonciello
f0bb65efa8 trivial: correct version comparison for polkit 0.114 in meson.build 2017-07-10 16:30:24 -05:00
Mario Limonciello
815c2d5ba0 trivial: packaging: lower appstream-glib requirements to match meson.build 2017-07-10 16:30:24 -05:00
Richard Hughes
492131daa5 trivial: Include all the GTypes in the generated docs 2017-07-10 21:02:52 +01:00
Mario Limonciello
dc8c985159 trivial: back the requirement on appstream-glib to 0.6.9
The items that 0.6.13 requires are now guarded by a version test.
This should allow running fwupd master on more distros that haven't
yet picked up appstream-glib 0.6.13.
2017-07-10 14:32:42 -05:00
Mario Limonciello
e68b118044 uefi: test for kernel support during coldplug
The kernel offers two interfaces for manipulation of EFI variables.
Make sure that at least one of these is available.

If another interface is added (and supported by efivar) then this
list will need to be appended as well.

This was raised as a potential problem in #100.
2017-07-10 14:11:22 -05:00
Mario Limonciello
c7e5322454 dell, uefi: Display all errors recorded by efi_error tracing, not just the first one 2017-07-10 14:11:10 -05:00
Richard Hughes
c633edc773 unifying: Don't log a warning when an unknown report is parsed
Fixes: https://github.com/hughsie/fwupd/issues/151
2017-07-07 13:42:45 +01:00
Mario Limonciello
8cb067d528 trivial: uefi: whitespace 2017-07-06 12:39:33 -05:00
Mario Limonciello
f043f1f94b uefi: record boot variables to system log during updates (#152)
This doesn't strictly resolve the encountered issue, but
it will aide in debugging these types of issues in the future.
2017-07-06 12:37:10 -05:00
Richard Hughes
b3dca14e90 trivial: Never compare a string against zero to avoid warnings 2017-07-06 18:28:01 +01:00
Richard Hughes
79acb58c7e uefi: Fix crash when the product name is NULL
...bad things happen when you try to free a const char...
2017-07-06 18:27:01 +01:00
Mario Limonciello
c1a4bd469d uefi,dell: make error messages from installing capsules useful
Before:
$ fwupdmgr install XPS_test.cab
Retrying as an offline update...
Scheduling…            UEFI firmware update failed: -1

After:
$ fwupdmgr install XPS_test.cab
Retrying as an offline update...
Scheduling…            UEFI firmware update failed: libfwup.c:733 get_paths(): could not find shim or fwup on ESP: No such file or directory
2017-07-06 11:38:33 -05:00
Mario Limonciello
7dabe954e2 trivial: set FWUPD_GIT_DESCRIBE even if git isn't installed 2017-07-06 09:26:54 -05:00
Mario Limonciello
b04c13e1cf Include optional git checkout information in --version
When users are running from git this should aide in
debugging if they have a fix included.
2017-07-05 17:49:50 -05:00
Mario Limonciello
7e9924d7a7 trivial: Adjust get-devices output order
Since changing how the data was shuffled from earlier fwupd versions
the device name is no longer output at the top of the list, fix that.
2017-07-05 17:16:18 -05:00
Mario Limonciello
be3a994922 Display UEFI firmware type
This will be more important as devices include more than
one entry in the ESRT.
2017-07-05 17:16:18 -05:00
Mario Limonciello
74e0a320bf trivial: debian: Add libcairo-dev to build-dependencies 2017-07-05 13:43:47 -05:00