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
Richard Hughes
0b937e7a6e
trivial: Only set the profile value after the argv parse
2022-04-19 14:21:21 +01:00
Sergii Dmytruk
523ed0d7b4
plugins/flashrom: make region we're flashing a property
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-19 10:47:41 +01:00
Sergii Dmytruk
b678170ee7
plugins/intel-spi: mark ME region device locked if it's RO
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-19 10:44:46 +01:00
Sergii Dmytruk
294bd648ea
trivial: plugins/superio: include prj_name in IT55's to_string
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-19 10:44:28 +01:00
Sergii Dmytruk
dce73cbffb
plugins/superio: don't leak chiplet property of device
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-04-19 10:44:10 +01:00
Richard Hughes
7ec0f11e69
mtd: Use the correct uSWID child for multiple coSWID children
2022-04-18 17:48:52 +01:00
Richard Hughes
519110b70e
Support firmware with uSWID header version 2
...
This allows multiple coSWID objects to be saved into a uSWID firmware,
and adds support for Zlib compressed payloads.
2022-04-18 17:48:52 +01:00
Mario Limonciello
0432cfe537
trivial: uefi: drop unnecessary HAVE_HSI declaration
...
This appears to have been from before a vfunc was added and isn't
necessary.
2022-04-18 10:01:02 -05:00
Mario Limonciello
1406e42745
trivial: bios: Add an attribute to fail HSI in legacy BIOS mode
...
Fixes : #4530
2022-04-18 10:01:02 -05:00
Richard Hughes
2d5186622c
Add FuProgress to ->prepare and ->cleanup
...
Some plugins were creating local versions (which were not attached to
the daemon progress in any way) as a workaround as they needed to do
actions that took a long time to complete.
2022-04-15 16:50:06 +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
a8497ad5c2
trivial: Allow invalidating backends when subsystems change
2022-04-15 16:49:48 +01:00
Richard Hughes
064cb648c1
redfish: Allow specifying the request type
2022-04-15 07:43:09 +01:00
Richard Hughes
58fd419fb8
Do not clear the instance-id hash during ->setup()
...
Some plugins rely on adding more instance IDs after the device has been
added.
2022-04-15 06:49:51 +01:00
Mario Limonciello
7662824913
trivial: ignore rej files
2022-04-14 10:30:54 -05:00