Richard Hughes
829258401e
Allow plugins and backends to print debugging information to the console
...
This is really useful for debugging.
2022-07-28 16:10:06 +01:00
Richard Hughes
e6b487e762
Add FuProgress to ->startup() and ->coldplug()
...
This allows us to profile the daemon startup so we can find any plugins
taking an inordinate amount of time to start.
2022-06-04 20:21:50 +01:00
Richard Hughes
cc10990628
redfish: Fix a memory leak when running coldplug multiple times
2022-05-27 11:59:28 +01:00
Richard Hughes
a374254d74
redfish: Drop the cache when invalidated
2022-04-15 16:49:48 +01:00
Richard Hughes
08a3fd8b65
redfish: Fix a memory leak when calling ->setup() more than once
2022-04-15 16:49:48 +01:00
Richard Hughes
3b0d1a6c6b
trivial: Ignore the return value of curl_easy_setopt() in most cases
...
This makes Coverity happy.
2022-04-13 15:08:12 +01:00
Richard Hughes
a11fefff35
redfish: Don't add the backup BMC device as it shares the same GUIDs
...
This fixes the problem when the UEFI update depends on a specific BMC
version -- including the backup BMC device means we checking that both
the primary and the backup were above a specific version.
I don't think it's ever useful to show the backup BMC device, so just
don't include it as an enumerated device.
Fixes https://github.com/fwupd/fwupd/issues/4404
2022-03-18 11:03:14 +00:00
Richard Hughes
68722ec6e4
redfish: Set SSL_VERIFYHOST=0 to fix OpenBMC auth
2021-11-11 20:47:20 +00:00
Richard Hughes
1210aa4ae7
redfish: Create user accounts automatically using IPMI
...
This allows the Redfish plugin to "just work" when there is no username
or password in the SMBIOS data. Using KCS we can create an admin account
from the host OS and then automatically enumerate devices.
2021-09-07 17:25:37 +01:00
Mario Limonciello
55de39c077
trivial: reformat the whole tree to match new format
2021-08-24 11:18:40 -05:00
Richard Hughes
d4a4362621
redfish: Fix writing large firmware files
2021-08-06 20:51:22 +01:00
Richard Hughes
25c93aa7ca
redfish: Identify hardware that needs to be updated to the same version
...
For instance, the EFI driver for a given network card cannot be
different for identical hardware.
2021-07-23 13:16:47 +01:00
Richard Hughes
a8206b2bf6
redfish: Work around a XCC-ism on Lenovo hardware
...
Only the backup BMC device (which we ignore anyway...) can be updated
by specifying the target ID, the others need an *empty* array so that
XCC can work out what devices need to be processed.
2021-07-23 13:16:47 +01:00
Richard Hughes
70a64190cb
redfish: Limit requests to 30s max
...
The default in new libcurl versions is 'forever' which isn't useful for
a shared daemon.
2021-07-22 12:48:22 +01:00
Richard Hughes
10cd248948
redfish: Restore compatibility with old libcurl versions
...
Making the redfish plugin disabled on RHEL 8 was... unpopular.
2021-07-09 16:30:30 +01:00
Richard Hughes
a923ae2804
redfish: Refactor plugin and add some unit tests
2021-07-08 15:35:02 +01:00
Richard Hughes
5f42fcb0c4
redfish: Port FuRedfishClient to derive from FuBackend
2021-07-06 17:13:16 +01:00