Richard Hughes
e90367d854
redfish: hardcode the filedata name to firmware.bin
...
Unbelievably, using a filename with spaces causes Lenovo XCC to return a message
with InternalError, 'The request failed due to an internal service error.
The service is still operational.'
As we're using a multipart update rather than a legacy HttpPushUriTargetsBusy
PATCHing, hardcoding should be quite safe.
2022-05-09 11:00:18 +01:00
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
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