Richard Hughes
418d883ea7
Allow specifying a non-file D-Bus transport
...
e.g. on Windows you can do:
FWUPD_DBUS_SOCKET=tcp:host=localhost,port=12345
2022-05-11 10:11:06 -05:00
Richard Hughes
bbd6010929
trivial: Remove ca-bundle.crt, harder
2022-05-11 10:11:06 -05:00
Richard Hughes
812562c6b4
Do not install ca-bundle.crt on win32 as it's no longer required
2022-05-11 09:07:48 -05:00
Richard Hughes
909907455e
colorhug: Add the bootloader VID/PID used for the first batch of devices
2022-05-11 12:34:59 +01:00
Richard Hughes
a826f0134a
colorhug: Never set a NULL version when the FW inface data is NULL
...
This fixes updating from ColorHug(1) devices on old firmware versions,
but doesn't affect ColorHug2.
2022-05-11 12:34:59 +01:00
Mario Limonciello
53e3ae340b
trivial: libfwupd: fix an unused variable in Win32
2022-05-10 14:52:24 -05:00
Mario Limonciello
9633e555e2
trivial: use double quote for motd sed statement
2022-05-10 18:57:17 +01:00
Mario Limonciello
00b115d85d
trivial: don't run check-license on headers in dist/
2022-05-10 18:57:17 +01:00
Mario Limonciello
23bead8a56
trivial: don't check for null/false returns on dist or subprojects
2022-05-10 18:57:17 +01:00
Mario Limonciello
20fb170607
trivial: ci: generate NEWS and VERSION after MSI is done
...
These files don't need to be in the MSI, they're just used for CI
to add to the release on Github.
2022-05-10 18:57:17 +01:00
Mario Limonciello
8253bd5d51
trivial: disable motd for local win32 build too
2022-05-10 18:57:17 +01:00
Richard Hughes
c0a668ab18
Allow the device to pause the polling when writing firmware
2022-05-10 18:51:17 +01:00
Richard Hughes
b149300a9f
Download in-process when using fwupdtool
...
This also means we get progress completion.
2022-05-10 09:13:45 -05:00
Richard Hughes
861881691e
trivial: Fix -Wunused-variable compile warning
2022-05-10 13:12:10 +01:00
Richard Hughes
c56e0ba4cc
Use the native CA store on Windows when possible
2022-05-10 13:09:44 +01:00
Richard Hughes
7df86f9ca0
trivial: Create a FwupdClient in fwupdtool
2022-05-10 13:03:33 +01:00
Richard Hughes
6535a686a5
trivial: Reduce the size of the MSI by removing static libraries
2022-05-10 12:58:29 +01:00
Richard Hughes
47f887f100
trivial: Do not connect the daemon to download files
...
There's nothing we need as all the useragent data is client-side.
2022-05-10 12:56:43 +01:00
Richard Hughes
2870426958
trivial: Fix a critical warning when no flashrom devices are found
2022-05-10 10:39:04 +01:00
Richard Hughes
7d89e85de5
scsi: Support updating firmware on UFS devices
...
Change-Id: I5573b1890135d1fd3b2f0cb8f95f74cbb3e21abe
2022-05-10 08:20:06 +01:00
Mario Limonciello
ebb5d7f6a7
trivial: add libgusb into dist package for Win32
2022-05-09 15:54:51 -05:00
Mario Limonciello
118cfd285b
trivial: disable bios plugin for Win32
2022-05-09 15:54:51 -05:00
Richard Hughes
77bb1ff479
Switch the Windows installer from NSIS to MSI
...
This means we get a few bugs fixed:
* We appear in the Add/Remove Programs UI
* We have an uninstaller that works on Windows 10
* The installation is pretty, and scriptable
* We actually install the translations
2022-05-09 15:49:40 +01:00
Richard Hughes
e76587ce95
Use ubuntu:rolling to fix longstanding CI issue
2022-05-09 11:33:38 +01:00
Richard Hughes
d3d7cfa816
Add plugin quirk keys earlier in the startup process
...
This allows creating the silo when starting the engine with custom
plugin keys such as WacomI2cFlashBaseAddr.
If we move the plugin initialization earlier then we don't get the
HwID matches, so we really do have to split this into a 4-stage startup,
e.g. ->load(), ->init(), ->startup() and ->coldplug().
2022-05-09 11:13:52 +01:00
Richard Hughes
82ff7fdba6
trivial: Disconnect plugin signals to fix self test issue
2022-05-09 11:13:52 +01:00
Richard Hughes
5aefc520b6
redfish: Poll less frequently during cleanup
...
The BMC can take more than 30 minutes to start (!) if lots of devices
are installed.
2022-05-09 11:00:18 +01:00
Richard Hughes
b4e3e1fcc6
trivial: Fix two warnings when recovering a device from a failed update
2022-05-09 11:00:18 +01:00
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