Commit Graph

9606 Commits

Author SHA1 Message Date
Richard Hughes
fb93b6c51c redfish: Do not mark all updates as UPDATABLE 2022-05-09 11:00:18 +01:00
Richard Hughes
5ebcfa909c redfish: Use actual FuProgress steps for ->cleanup() 2022-05-09 11:00:18 +01:00
Richard Hughes
f0ef6ae05f scsi: Rearchitect the plugin to match a block device
This makes it match the eMMC and SATA plugins, and means we can more easily
walk up to the parent SCSI controller, rather than trying to find the correct
block child.

No functional changes, other than now we also read the disk serial number, and
use one less udev subsystem match.
2022-05-09 07:05:08 +01:00
Robert Ancell
a8dd34c711 Fix more copy-paste documentation errors 2022-05-08 20:16:37 -05:00
Robert Ancell
cd437175b4 Fix copy-paste error in documentation for FwupdDevice::version_format 2022-05-08 16:44:41 -05:00
Richard Hughes
d8ba0bd178 Always be arch-explicit for OS deps
Before we were only being explcit for Debian and Ubuntu and that meant
the missing attribute meant different things depending on the OS.
2022-05-08 10:18:59 -05:00
Mario Limonciello
08900e3b8a trivial: set up win32 build not to take GPG by default
Unfortunately you can't detect the meson option:
```
../data/pki/meson.build:4:4: ERROR: Having a colon in option name is forbidden, projects are not allowed to directly access options of other subprojects.
```
So hardcode in top level meson.build that Windows doesn't take GPG.
2022-05-06 09:56:03 -05:00
Richard Hughes
ba08d6f276 Use the system-provided mingw64 cross file 2022-05-06 14:37:43 +01:00
Richard Hughes
7f73445af4 trivial: Fix a compile warning on win32 2022-05-06 13:55:51 +01:00
Richard Hughes
517dc88f4f trivial: Fix the win32 CI tests 2022-05-06 13:55:51 +01:00
Richard Hughes
5031ea2c6b trivial: Fix introspection warning when building docs 2022-05-06 08:38:01 +01:00
Mario Limonciello
b81ee54c13 trivia: check that memory monitor was found
on Win32 this isn't allocated and causes an assertion
2022-05-05 15:38:43 -05:00
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
Mario Limonciello
6eb251dc6f Release fwupd 1.8.0
-----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAmJqpuIUHHJpY2hhcmRA
 aHVnaHNpZS5jb20ACgkQF6y6jfqXDheTFwf/YYYDtPvFQn8EkwT0RRNUWMjpmiTF
 5VzpQEJG7mevjVhXDiFKjPubW+6Xelb4V8ndUnXqgVbXff9csyOXsvKGssaUE8Sw
 RdIYpMZjdCGAmRqh/H32nMCL9BUqPvdYnf6EtW79sz7K6ghy7V0r04n1XRBvqg1m
 CjDhiBn3ThrohssQzklJdptSG1PQLIGp0E0mDIe+Tz1PIcRfU3V55pKdQTqgMNkf
 5Kp6U4GS7YTHsHgApXCXjXqP31ce3M6mD4FLrQvn4ClyXeO0HoY3ZEdK66HgtO1S
 yTDO7B4BXOBEMHMFfFQI+HcTgEofsQ/nm91xKAueoVbxA0amE+LgY7HEtw==
 =hKO7
 -----END PGP SIGNATURE-----

Merge tag '1.8.0' into debian

Release fwupd 1.8.0
2022-04-29 00:08:39 -05: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
15bacf1e75 releasing package fwupd version 1.7.7-1 2022-04-25 20:44:08 -05:00
Mario Limonciello
ec00da737f New upstream version (1.7.7) 2022-04-25 20:43:53 -05:00
Mario Limonciello
ab8e226e27 Run fwupd-refresh under a dedicated fwupd-refresh user (LP: #1969976) 2022-04-25 20:33:04 -05:00
Mario Limonciello
457398c81c Backport configuration option for systemd refresh unit user 2022-04-25 20:33:04 -05:00
Richard Hughes
dcb132bee4 Release fwupd 1.7.7 2022-04-25 20:32:49 -05:00
Richard Hughes
22db09a6f3 flashrom: Allow quirking the flashrom flash size
We were using an 'undocumented' local copy of the flash size, when
FuDevice was setting the [ignored] standard device property.
2022-04-25 20:32:49 -05:00
Richard Hughes
f3a0005253 trivial: Use the proxy physical ID automatically 2022-04-25 20:32:49 -05:00
Richard Hughes
9b6204953c Fix build for MacOS
This is more for curiosity than anything else.
2022-04-25 20:32:49 -05:00