Commit Graph

7503 Commits

Author SHA1 Message Date
Mario Limonciello
2232ba2c4c trivial: uefi-recovery: don't build on Windows 2022-05-05 15:38:43 -05:00
Mario Limonciello
a9f92dcb5e trivial: libfwupd: don't try to read /etc/os-release on windows 2022-05-05 15:38:43 -05:00
Mario Limonciello
5055c5e3e0 trivial: win32: disable compat cli tools 2022-05-05 15:38:43 -05:00
Mario Limonciello
532dfd54b1 trivial: install fwupd.exe into bindir for Windows
In Windows we'll be placing everything in the same directory so that
libraries can be resolved.
2022-05-05 15:38:43 -05:00
Mario Limonciello
97aa7b2eb6 trivial: build windows daemon too in CI
This won't actually work yet (and hence we won't package it), but we
can at least make sure we don't regress the support by any code
changes.
2022-05-05 11:51:22 -05:00
Mario Limonciello
1c38d02367 trivial: lenovo-thinklmi: disable plugin build outside linux 2022-05-05 11:51:22 -05:00
Mario Limonciello
b092f9e80c trivial: fu-main: fix compilation on win32
This isn't an actual fix for daemon on win32, it just disables the fd
support on !unix.

baby steps
2022-05-05 11:51:22 -05:00
Mario Limonciello
11c0cbaefc trivial: fu-util: fix compilation on win32 2022-05-05 11:51:22 -05:00
Richard Hughes
9f584a234a flashrom: Allow dumping firmware using fwupdtool 2022-05-04 14:10:18 +01:00
Richard Hughes
c0bdb8dd7a flashrom: Only set the BIOS size if not already quirked 2022-05-04 11:11:23 +01:00
Richard Hughes
5ac8594d92 flashrom: Use more ideomatic GLib style 2022-05-04 11:11:23 +01:00
Richard Hughes
539413ca51 parade-lspcon: Fix regression when probing PS175 devices
Fixes https://github.com/fwupd/fwupd/issues/4580
2022-05-02 22:19:38 +01:00
Richard Hughes
e97ee5922e trivial: Fix win32 build by including native gettext 2022-05-02 12:36:28 +01:00
Richard Hughes
89238c15f5 Include libsqlite3-0.dll in the win32 installed
Fixes https://github.com/fwupd/fwupd/issues/4578
2022-05-02 12:36:28 +01:00
Richard Hughes
ff66aecf54 trivial: Fix -Wunused warning when compiling on Windows 2022-05-02 12:36:28 +01:00
Richard Hughes
f6c6e98786 trivial: Include header needed for GetLastError() 2022-05-02 12:36:28 +01:00
Richard Hughes
298377fab3 trivial: Restore 'fwupdmgr install http://...' behaviour
Fixes https://github.com/fwupd/fwupd/issues/4576
2022-04-29 12:31:31 -06:00
ChangHee (Ryan) Lee
310a513e35
ccgx: modify quirk for HP 2022-04-29 16:55:27 +01:00
Richard Hughes
2fcdf352df Retry the device ioctl for EAGAIN 2022-04-29 15:01:32 +01:00
Richard Hughes
e803ed30f5 trivial: post release version bump 2022-04-28 15:59:12 +01:00
Richard Hughes
9bf8724bf4 Release fwupd 1.8.0 2022-04-28 15:38:26 +01:00
Richard Hughes
f81a3e671e synaptics-mst: Read the fw-size in a more safe way 2022-04-28 14:20:13 +01:00
Richard Hughes
beb49d7ac0 trivial: Add fu_common_read_uint24() helper for future code 2022-04-28 14:18:30 +01:00
Richard Hughes
855ece352d Check the alignment when reading in raw firmware 2022-04-28 14:15:49 +01:00
Richard Hughes
2b81290829 synaptics-prometheus: Add a sanity check to fix a fuzzing failure
Fixes https://oss-fuzz.com/testcase-detail/6232454836387840
2022-04-28 07:24:00 +01:00
Richard Hughes
3553336eff trivial: Don't print a critical warning in fu_common_sum8_bytes()
If the size if zero, the buffer may be NULL.

Fixes: https://oss-fuzz.com/testcase-detail/5453386322935808
2022-04-28 07:24:00 +01:00
Richard Hughes
f5bbd744f5 wacom-usb: Fix a timeout when parsing very corrupt firmware
Fixes https://oss-fuzz.com/testcase-detail/5797345020739584
2022-04-28 07:24:00 +01:00
ChangHee (Ryan) Lee
89cfe97625
ccgx: Fix failure to replug 2022-04-27 12:03:16 +01:00
Richard Hughes
f3ec632492 trivial: Add some new helper API for future functionality 2022-04-26 14:30:28 +01:00
Mario Limonciello
f818404d81 trivial: debian: set up fwupd-refresh.service/fwupd-refresh.timer
Create a dedicated user account for these to use, and set the preset
to leave it as enabled by default.

Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Mario Limonciello
5d22db02ec trivial: Add a new configuration option systemd_unit_user
This option will control what user the fwupd-refresh.service unit
uses.
2022-04-25 14:06:04 -05:00
Mario Limonciello
0c9ac226c9 trivial: disable the preset for fwupd-refresh.timer as well
Until systemd fixes this issue we don't want the fwupd-refresh.timer
to be running unless a distro has disabled DynamicUser and made a
static user.

Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Richard Hughes
debe9a51a3 Make the security policy reflect reality 2022-04-25 18:14:14 +01:00
Richard Hughes
31907e6863 Add a sanity check when trying to refresh a non-download remote 2022-04-25 15:47:20 +01:00
Richard Hughes
97b33f3472 Use a more suitable icon for USB hubs 2022-04-25 14:49:30 +01:00
Richard Hughes
b7bf0a7611 Do not fallback to audio-card
Let the frontend choose the most appropriate icon if unspecified.
2022-04-25 14:49:30 +01:00
PatriciaJonsson
0570829981
dfu: Add support for FlatFrog devices 2022-04-25 10:36:27 +01:00
Richard Hughes
c1d67be0a5 genesys: Fix a potential buffer overread spotted by Coverity
overrun-buffer-arg: Overrunning array buf of 64 bytes by passing it to
a function which accesses it at byte offset 65 using argument len + 3UL
2022-04-25 07:03:26 +01:00
Wei-Luan Wang
a87b2c901a Install D-Bus introspection data even if introspection is disabled
According to the D-Bus API Design Guidelines, the D-Bus interface files
for public API should be installed so that other services can load them.
2022-04-24 18:39:29 +01:00
Richard Hughes
57af867fab trivial: Fix example downstream spec file 2022-04-23 11:35:33 +01:00
Richard Hughes
492563d5f2 trivial: Ignore the return value of g_strlcpy() when safe 2022-04-23 10:30:50 +01:00
Richard Hughes
21529460ec trivial: Ignore the return value of g_unlink() in the self tests 2022-04-23 10:28:16 +01:00
Richard Hughes
7eca2b2b16 Export the version_lowest_raw value correctly 2022-04-23 10:28:16 +01:00
Richard Hughes
4414866d38 genesys: Remove some dead code 2022-04-23 10:28:16 +01:00
Richard Hughes
45b1a0bbe3 modem-manager: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
d32bbb0084 genesys: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
c38be3aca6 corsair: Use correct format specifier in error message 2022-04-23 10:28:16 +01:00
Richard Hughes
b7bb9c35dd ch341a: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
945bb32b35 trivial: Ignore GCC-specific pragmas when using clang 2022-04-23 10:28:16 +01:00
Richard Hughes
a1517e4875 dfu: Use the correct icon automatically for USB webcams 2022-04-23 08:56:58 +01:00