Mario Limonciello
0bdb776d4a
trivial: snap: install EFI binaries into $ESP/fwupd instead
2023-02-23 13:04:12 -06:00
Mario Limonciello
398c3722d0
trivial: uefi-capsule: drop the fallback to removable path flag
...
It was used for ubuntu-core with a confined fwupd, but now we will
load our own shim as necessary to the ESP.
2023-02-23 13:04:12 -06:00
Mario Limonciello
2cbe25e8c3
uefi-capsule: Copy in an updated shim if provided
...
If a shim is in the fwupd libexec/efi directory, it's intended to
be paired with the fwupd binary.
2023-02-23 13:04:12 -06:00
Richard Hughes
a075b90ca5
Offer to enable emulation if disabled
2023-02-23 13:04:12 -06:00
Richard Hughes
13a34145c1
trivial: Fix -Wunused-variable with old GUsb versions
2023-02-23 13:04:12 -06:00
Richard Hughes
6e9d01eeac
trivial: Ensure the progressbar gets to exactly 100% when downloading
2023-02-23 13:04:12 -06:00
Richard Hughes
608a08a226
trivial: Only show the non-interactive text status if interesting
2023-02-23 13:04:12 -06:00
Richard Hughes
023a5f373d
trivial: Move the uint prompt to FuConsole
2023-02-23 13:04:12 -06:00
Richard Hughes
820bce492a
trivial: Fix newline when asking for confirmation
2023-02-23 13:04:12 -06:00
Richard Hughes
dd6633cbca
Split out the console handling to a new module
...
This simplifies a lot of confusion.
2023-02-23 13:04:12 -06:00
Richard Hughes
39f7699401
uefi-capsule: Require at least 80MB free in the ESP
...
See https://github.com/fwupd/firmware-lenovo/issues/257
2023-02-23 13:04:12 -06:00
Richard Hughes
f10dbf9b5d
Allow installing some battery firmware updates when the power is too low
...
The firmware in this case fixes the battery charging, and as the battery is
*internal* the user isn't able to apply the fix.
Fixes https://github.com/fwupd/firmware-lenovo/issues/315
2023-02-23 13:04:12 -06:00
Richard Hughes
af862c615d
Fix -Dbuild=library target
2023-02-23 13:04:12 -06:00
Richard Hughes
5db1809619
trivial: Add emulation data for the HP G5 dock
2023-02-23 13:04:12 -06:00
Richard Hughes
7dfe9792cd
trivial: Add device test data for the HP 910 keyboard and mouse
2023-02-23 13:04:12 -06:00
Richard Hughes
c96391ed8d
Use a predefined message when emulating
...
This allow us to guide the user through emulation in gnome-firmware.
2023-02-23 13:04:12 -06:00
Richard Hughes
a34b0490b7
trivial: Correctly fallback from SMBIOS to FDT
2023-02-23 13:04:12 -06:00
Richard Hughes
f98e0e338b
Correctly fall back to the compatible vendor when FDT vendor is missing
...
Fixes https://github.com/fwupd/fwupd/issues/5530
2023-02-23 13:04:12 -06:00
Richard Hughes
bb6f4f0d20
trivial: Never add missing FDT values as a HwID
2023-02-23 13:04:12 -06:00
Richard Hughes
2bf53c3cce
trivial: Fix critical warning when using fwupdtool export-hwids
2023-02-23 13:04:12 -06:00
Richard Hughes
c7e79e1e76
ccgx: Make the default image type for FuCcgxDmcDevice to be DMC_COMPOSITE
...
This means most devices do not need to specify additional quirks.
2023-02-23 13:04:12 -06:00
Richard Hughes
ab2dffac5f
Allow downloading files in fwupdtool
...
The useragent was being set as 'fwupdtool/1.8.11 fwupd/(NULL)' which the LVFS
did not like. As we're using fwupdtool without a daemon proxy just set the
fwupd version manually.
Fixes https://github.com/fwupd/fwupd/issues/5519
2023-02-23 13:04:12 -06:00
Richard Hughes
574b4c1979
Show the 4XX download failure in the error output
2023-02-23 13:04:12 -06:00
Mario Limonciello
3920c9db6f
trivial: logitech-hidpp: move the check for CONFIG_HIDRAW into probe
...
The kernel should have loaded hidraw support by the time that we probe
a device. This fixes logitech devices not showing up after startup
if they weren't plugged in initially.
Fixes : #5525
2023-02-23 13:04:12 -06:00
Richard Hughes
d011a7d6ba
Set the device percentage and status for the duration
...
Fixes part of https://github.com/fwupd/fwupd/issues/5522
2023-02-23 13:04:12 -06:00
Richard Hughes
a5a98b00bd
trivial: Fix the gtk-doc header to reflect reality
2023-02-23 13:04:12 -06:00
Richard Hughes
7afc48da35
Include python3-uswid in the container so fwupd-efi can include the uSWID section
2023-02-23 13:04:12 -06:00
Richard Hughes
67f7db8f6d
trivial: Add a clang-tidy template
2023-02-23 13:04:12 -06:00
Richard Hughes
2077861dea
trivial: Fix warning: function has a definition with different parameter names
2023-02-23 13:04:12 -06:00
Richard Hughes
21e08ff483
trivial: Fix warning: return after continue
2023-02-23 13:04:12 -06:00
Richard Hughes
9defbce2c7
trivial: Fix warning: parameter is const-qualified in the function declaration
2023-02-23 13:04:12 -06:00
Richard Hughes
648e0c6858
trivial: Fix warning: declared with a const-qualified typedef
2023-02-23 13:04:12 -06:00
Richard Hughes
be04e8e034
trivial: Fix warning: pointer parameter 'buf' can be pointer to const
2023-02-23 13:04:11 -06:00
Richard Hughes
65b158a7cc
trivial: Fix warning: repeated branch in conditional chain
2023-02-23 13:04:11 -06:00
Richard Hughes
caa6568262
trivial: Fix warning: do not use 'else' after 'return'
2023-02-23 13:04:11 -06:00
Richard Hughes
953b74a26f
trivial: Fix warning: redundant return statement at the end of a function with a void return type
2023-02-23 13:04:11 -06:00
Richard Hughes
72c8574f04
trivial: Remove an unused source file
2023-02-23 13:04:11 -06:00
Richard Hughes
2f679bf2e2
trivial: Remove an unused self-test file
2023-02-23 13:04:11 -06:00
Richard Hughes
4ea2e43b13
Actually store the SHA384 TPM measurements if found
2023-02-23 13:04:11 -06:00
Richard Hughes
53c88b8949
trivial: Fix a typo that was missed in review
2023-02-23 13:04:11 -06:00
Richard Hughes
b908b1c1df
trivial: Test for the correct thing in the tests
2023-02-23 13:04:11 -06:00
Richard Hughes
a5dd069b43
trivial: Include the correct headers to make clang-tidy happy
2023-02-23 13:04:11 -06:00
Richard Hughes
34bd4d6766
trivial: Remove the unused deprecated header files
2023-02-23 13:04:11 -06:00
Richard Hughes
93307ed27d
trivial: Never show profiling steps when using fwupdtool install
2023-02-23 13:04:11 -06:00
Richard Hughes
c0ababf2cf
trivial: Add some additional docs about CCGX factory mode
2023-02-23 13:04:11 -06:00
Richard Hughes
b59c82e1bd
Add support for emulating and recording devices
...
Based on patches from Frédéric Danis <frederic.danis@collabora.com>
2023-02-23 13:04:11 -06:00
Richard Hughes
8bcb66745a
Update the MOTD after 5s idle
...
If we're doing multiple updates in a composite device then we don't need to
update the MOTD in between each sub-component update. Similarly, if we're
emulating lots of devices.
This speeds up emulating all the devices by two orders of magnitude.
2023-02-23 13:04:11 -06:00
Richard Hughes
2d2d59591a
ccgx: Auto-set the remove-delay now we parse the devx components
...
This is one less thing for vendors to work out.
2023-02-23 13:04:11 -06:00
Mario Limonciello
d0e880ca4c
trivial: thunderbolt: show integrated USB4 host controllers in tree
...
USB4 host controllers that can't be updated come from the CPU.
Show them properly in the tree view.
2023-02-23 13:04:11 -06:00
Mario Limonciello
21d185ef13
trivial: Add relationship for GPIO controller
...
The GPIO controllers AMDI0030 and AMDI0031 come from the SOC.
Show them appropriately in the tree view.
2023-02-23 13:04:11 -06:00