Commit Graph

9633 Commits

Author SHA1 Message Date
Richard Hughes
c9bbcfb71c vli: Do not probe devices with the firmware reference VID and PID
But, leave the products with the VIA VID, but a non-default PID.

Fixes https://github.com/fwupd/fwupd/issues/4352
2022-04-25 20:32:48 -05:00
Richard Hughes
43d8b235e7 Show devices that are updatable and payload signing is still unknown
But, ignore devices like UEFI, NVMe and Redfish as this is specified in
the firmware metadata.
2022-04-25 20:32:48 -05:00
Richard Hughes
f126d5d85c vli: Mark the MSP430 as unsigned-payload 2022-04-25 20:32:48 -05:00
Richard Hughes
5bd51f62dd synaptics-cxaudio: Use a more standard instance ID for the chip 2022-04-25 20:32:48 -05:00
Richard Hughes
db8de67024 intel-spi: Use a more standard instance ID for the chipset 2022-04-25 20:32:48 -05:00
Richard Hughes
6516aa556f intel-spi: Use a more standard instance ID for the IFD 2022-04-25 20:32:48 -05:00
Richard Hughes
5eb7fdd890 uefi: Do not add the Windows compat ID
This is just confusing vendors and doesn't match any of the other IDs.
2022-04-25 20:32:48 -05:00
Richard Hughes
0a4f29373a emmc: Use more standard Instance ID values 2022-04-25 20:32:48 -05:00
Richard Hughes
1330e259fa ccgx: Be more precise when adding the instance ID
All the existing quirks are luckily 4 digits already, but this might
not always be true in the future.
2022-04-25 20:32:48 -05:00
Mario Limonciello
e83928220d trivial: set makensis as mandatory for windows 2022-04-25 20:32:48 -05:00
Mario Limonciello
1787991200 trivial: simplify error message for gidocgen needing introspection 2022-04-25 20:32:48 -05:00
Mario Limonciello
bfcfe9de85 trivial: drop unnecessary HAVE_THUNDERBOLT config 2022-04-25 20:32:48 -05:00
Mario Limonciello
4f3cb4c84a trivial: add a CI target for openbmc
We want a build that does -Dauto_features=disabled to make sure
it works properly.
2022-04-25 20:32:48 -05:00
Mario Limonciello
c18f15aa67 trivial: Add libqrtr-glib-dev to build dependencies
It's needed in debian unstable now for Modem Manager plugin
2022-04-25 20:32:48 -05:00
Richard Hughes
221af0580a trivial: post release version bump 2022-04-25 20:32:48 -05: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
Richard Hughes
c1d67be0a5 genesys: Fix a potential buffer overread spotted by Coverity
overrun-buffer-arg: Overrunning array buf of 64 bytes by passing it to
a function which accesses it at byte offset 65 using argument len + 3UL
2022-04-25 07:03:26 +01:00
Wei-Luan Wang
a87b2c901a Install D-Bus introspection data even if introspection is disabled
According to the D-Bus API Design Guidelines, the D-Bus interface files
for public API should be installed so that other services can load them.
2022-04-24 18:39:29 +01:00
Richard Hughes
57af867fab trivial: Fix example downstream spec file 2022-04-23 11:35:33 +01:00
Richard Hughes
492563d5f2 trivial: Ignore the return value of g_strlcpy() when safe 2022-04-23 10:30:50 +01:00
Richard Hughes
21529460ec trivial: Ignore the return value of g_unlink() in the self tests 2022-04-23 10:28:16 +01:00
Richard Hughes
7eca2b2b16 Export the version_lowest_raw value correctly 2022-04-23 10:28:16 +01:00
Richard Hughes
4414866d38 genesys: Remove some dead code 2022-04-23 10:28:16 +01:00
Richard Hughes
45b1a0bbe3 modem-manager: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
d32bbb0084 genesys: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
c38be3aca6 corsair: Use correct format specifier in error message 2022-04-23 10:28:16 +01:00
Richard Hughes
b7bb9c35dd ch341a: Remove unused variable 2022-04-23 10:28:16 +01:00
Richard Hughes
945bb32b35 trivial: Ignore GCC-specific pragmas when using clang 2022-04-23 10:28:16 +01:00
Richard Hughes
a1517e4875 dfu: Use the correct icon automatically for USB webcams 2022-04-23 08:56:58 +01:00
Mario Limonciello
b7b06df928 trivial: dell: ignore a false positve for stringop-overread 2022-04-23 08:27:34 +01:00
Richard Hughes
6f6f83ee46 trivial: Disable the safe directory feature for CI 2022-04-23 08:27:34 +01:00
Richard Hughes
4199c694b1 Fix a CI failure for any distro using git >= 2.35.3 2022-04-23 08:27:34 +01:00
Richard Hughes
ab0c750bb2 Only show the CLI time remaining for predictable status phases
Fixes https://github.com/fwupd/fwupd/issues/4540
2022-04-22 11:38:35 -05:00
Mario Limonciello
d599c90da0 trivial: allow manually running the container generation workflow 2022-04-22 08:34:12 -05:00
Richard Hughes
f7e006c491 trivial: Remove now-fixed workaround for runc 2022-04-22 11:58:05 +01:00
Richard Hughes
95022acffb trivial: Fix Fedora CI 2022-04-22 11:58:05 +01:00
Sergii Dmytruk
e9f765dc47 plugins/flashrom/fu-flashrom-device.c: create layout on open
This avoids possible reading IFD multiple times and fixes a memory leak
of layout on errors and an unconditional leak in
fu_flashrom_device_prepare(), which didn't call
flashrom_layout_release().

Notice that flashrom_layout_set() call does NOT transfer ownership.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Sergii Dmytruk
e1d708a4ff plugins/flashrom: manage flashrom context at plugin level
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Sergii Dmytruk
ddf4e10d7b plugins/flashrom: enable for 2 Tuxedo laptops
Their ME region in flash can be unlocked manually, give user
instructions on how to do it.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Sergii Dmytruk
e65cb98cc8 plugins/flashrom: add flashrom-specific GUIDs
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Sergii Dmytruk
2bac03eee1 plugins/flashrom: create separate device for ME region
Created only if intel_spi plugin indicates that the region exists by
creating its own device for it.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-21 15:39:47 +01:00
Richard Hughes
103e4ed889 trivial: Make the language in the stale job more pathetic 2022-04-21 15:30:55 +01:00
Richard Hughes
81fbff8445 redfish: Restart the BMC after installing BCM updates 2022-04-19 20:24:59 +01:00