Mario Limonciello
bfa54d06ef
trivial: lenovo-thinklmi: don't assume boot order lock means plugin runs
...
Lenovo could drop this some day and this plugin has other reasons to run
now. So instead match a HWID for Lenovo systems.
2022-08-31 09:21:07 -05:00
Mario Limonciello
ea64db7d19
lenovo-thinklmi: Disable changing sleep mode on Ryzen 6000 systems
...
S3 is not supported by AMD and is not exposed in the GUI on these
systems. Lenovo however exports it to their WMI interface and changing
it will means it can only be changed from the OS.
2022-08-31 09:21:07 -05:00
Mario Limonciello
ad461d504d
bios-settings: Fix plugin functionality
...
By moving the attribute loading into udev it was loading too late
and plugins couldn't use it. Move the loading to earlier in the
daemon and ignore add events if we already have attributes loaded.
Fixes : #4979
2022-08-31 09:21:07 -05:00
Mario Limonciello
473459c93d
trivial: add an explicit check for python's packaging module
...
Fixes : #4976
Suggested-by: eschwartz93@gmail.com
2022-08-31 08:49:51 -05:00
Mario Limonciello
06705a7674
trivial: fix circleci doc deployment for new paths
2022-08-31 08:26:41 +01:00
Richard Hughes
0ea9f4cea3
Install the symlink the other way around
...
RPM based distros cannot replace a directory with a symlink without a giant hack.
2022-08-31 08:26:41 +01:00
Mario Limonciello
27eed659b6
releasing package fwupd version 1.8.4-2
2022-08-30 13:33:34 -05:00
Mario Limonciello
593cf2d427
Fix valgrind architecture specific dependency.
2022-08-30 13:33:19 -05:00
Mario Limonciello
b8be8943fa
Attempt to fix FTBFS related to documentation only building in certain architectures.
...
This is caused by Build-Profiles of nodoc and not properly supporting them.
2022-08-30 13:32:02 -05:00
Mario Limonciello
ae135e7d0a
trivial: add a better message on Windows for failing service
2022-08-30 12:06:16 -05:00
Mario Limonciello
25789ef2e7
trivial: fwupd-client: prefix some windows error messages
2022-08-30 12:06:16 -05:00
Mario Limonciello
284422a602
trivial: windows: Install windows service
2022-08-30 12:06:16 -05:00
Mario Limonciello
e26be40490
trivial: disable security
arg when HSI disabled
...
There is no point to offering the security argument to the tools if HSI was disabled
at compile time.
2022-08-30 11:42:58 -05:00
Richard Hughes
6fd7a62efe
uf2: Fix a small memory leak when parsing files
...
Fixes https://oss-fuzz.com/testcase-detail/4617823934087168
2022-08-30 17:34:33 +01:00
Richard Hughes
bdfe66a16e
trivial: Fix an integer overflow issue when parsing oprom images
...
Fixes https://oss-fuzz.com/testcase-detail/4524947132776448
2022-08-30 17:34:33 +01:00
Mario Limonciello
77869fe7b2
Add new changelog entry
2022-08-30 11:16:08 -05:00
Mario Limonciello
68bc641f2e
debian/control: refresh build-deps w/ upstream requirements
2022-08-30 11:15:32 -05:00
Richard Hughes
16b463334e
Export the generic Intel Thunderbolt firmware format
...
This is being used for other products, e.g. USB4 docks.
If non-Intel firmware is being used (e.g. ASMedia) then the explicit
calls to `fu_intel_thunderbolt_nvm_new()` can be changed to something
like `fu_firmware_new_from_gtypes()` with all the formats listed.
2022-08-30 14:20:14 +01:00
Mario Limonciello
0e679aa345
Release fwupd 1.8.4
...
-----BEGIN PGP SIGNATURE-----
iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAmMN2mAUHHJpY2hhcmRA
aHVnaHNpZS5jb20ACgkQF6y6jfqXDhfO0Af/a7QoMBo8GfLOZT4WX4pX+vEdL/O+
Iiwi82eHkZSKSRgdoPdFx7Gl8TuF98OiuSrk3pAPPPGMQcRPBpqzVoFuld3wL5j6
hpdjlGz+bm6S17e4ESZ1Jm36VvRh9WmvqBp0ruUmxkRirkzLVW3k9TntH2k9rtLf
uF4Js3vUgOvwFd1MvYK18YrsMSFPTaX4hhKEk6STWwveDj6ksUbkjvQajMAX+0y1
enXtaaVX5/2gqEbUTQt491hdPdhOvtuAMT8wirfvNDaAQOQDbMZSceEc1tq8H/NM
3AVmd7oS4mVxzHuYeEO5doCfziI2mmrjjK1ldNvZOdlRQVCR0FwnVlB2kQ==
=dert
-----END PGP SIGNATURE-----
Merge 1.8.4
2022-08-30 06:46:42 -05:00
Richard Hughes
7292d35b07
trivial: post release version bump
2022-08-30 10:49:03 +01:00
Richard Hughes
dbd6515e7b
Release fwupd 1.8.4
2022-08-30 10:37:36 +01:00
victor-cheng
42e3c2e4dd
usi-dock: Extend delay time before reload
...
sometimes the device is busy and will exceed the timer limit.
2022-08-30 10:28:15 +01:00
Mario Limonciello
75fa5c3128
trivial: Use meson 0.61 feature for natively installing symlinks
2022-08-30 08:36:24 +01:00
Josh Chen
5ed675f93b
elantp: fix missing initial value and remove duplicate code
2022-08-29 21:18:40 -05:00
Mario Limonciello
72f19f2a12
trivial: fix documentation deployement
2022-08-29 18:20:46 -05:00
Mario Limonciello
a56b5b2d36
trivial: in the not enough information case show an URL
2022-08-29 18:20:46 -05:00
Mario Limonciello
a44fc42cf6
trivial: Add pages to fwupd.github.io index for HSI and BIOS Settings
2022-08-29 18:20:46 -05:00
Mario Limonciello
613cb455be
trivial: fix some URLs for GTK projects in documentation
2022-08-29 20:48:09 +01:00
Mario Limonciello
bfa5741a98
trivial: make it clear the documentation isn't just for developers
2022-08-29 20:47:51 +01:00
Mario Limonciello
5777f37191
trivial: Move recommendations from the wiki to HSI spec
...
We publish the HSI spec at fwupd.github.io. We should make this
the first landing area for HSI content, going out to the wiki page
only as necessary.
2022-08-29 20:44:20 +01:00
Richard Hughes
cc30929339
Correctly detect CET IBT
...
According to Intel, EDX[bit 20] corresponds to IBT feature, *not* ECX.
Fixes half of https://github.com/fwupd/fwupd/issues/4960
2022-08-29 14:40:47 +01:00
Mario Limonciello
1f7526cce1
tpm: Don't require uefi capsule updates for checking TPM PCR0
...
There isn't any reason that we need to have a system advertising a
GUID with `main-system-firmware` in order to check that PCR0 reconstruction
matches what the TPM actually has.
Fixes : #4961
2022-08-29 07:56:23 +01:00
Richard Hughes
7f930a41dc
trivial: Fix one -Wunused-variable warning
2022-08-26 21:18:25 +01:00
Richard Hughes
eec6de6985
Fix applying the latest DBX update on machines with 20200729.x64 installed
...
Use a hardcoded list of last-set dbx checksums to fix the reported version
when required.
2022-08-26 16:29:28 +01:00
Mario Limonciello
506730879d
trivial: fix a minor logic error in sb/3rd party commit
2022-08-25 20:25:17 -05:00
Mario Limonciello
22b477bff5
trivial: don't allow turning on secure boot if 3rd party CA is off
...
Turning on UEFI secure boot on Lenovo systems with 3rd party CA
turned off will cause a boot loop.
2022-08-25 16:28:38 -05:00
Mario Limonciello
273a363a71
trivial: bios-settings: don't show error for nothing to do
...
After policy applies for the first time, you don't want to show
messaging to users that the policy can't apply the next time.
2022-08-25 14:40:09 -05:00
Mario Limonciello
afd661963b
trivial: move the FwupdBiosSetting read only map into a hashtable
...
This is probably going to grow in the future, so make it more efficient.
2022-08-25 14:05:24 -05:00
Mario Limonciello
df07318f36
Move FwupdBiosSetting description database into libfwupdplugin
...
This needs to be handled by the daemon so that all GUI clients will
be able to load translations as well.
The translations will be distributed with fwupd, and any GUI client
should look up the translations.
2022-08-25 14:05:24 -05:00
Richard Hughes
a5397c6836
Add a new vfunc to check if two firmwares are compatible
...
For future use.
2022-08-25 15:30:07 +01:00
Richard Hughes
e12b46b991
Force the chassis type to be valid if emulating
...
The logic being that if we're emulating another system we're possibly
on a VM, and that's possibly going to report that it isn't a desktop.
I also think it makes sense to serialize out the FuSmbios object
to-and-from JSON, but that's a patch for another day.
2022-08-25 13:56:41 +01:00
Richard Hughes
50f0953b32
trivial: Fix a Coverity issue which is really a false positive
2022-08-25 12:15:23 +01:00
Richard Hughes
afb56d4286
trivial: Fix one -Wunused-variable warning
2022-08-25 12:08:33 +01:00
Richard Hughes
2a231896fd
trivial: Fix a couple of coding style issues
2022-08-25 12:04:25 +01:00
Richard Hughes
2fed9cde72
trivial: Fix one -Wunused-variable warning
2022-08-25 12:03:51 +01:00
Richard Hughes
c4bdc3ae30
trivial: Fix one -Wunused-variable warning
2022-08-25 11:55:03 +01:00
Josh Chen
fa7b6247bb
Added support for absolute reporting (non-HID) devices
2022-08-25 11:53:30 +01:00
Richard Hughes
6710f360ec
trivial: Fix search-replace typo
2022-08-25 10:09:58 +01:00
Mario Limonciello
9391deb2d7
trivial: only accept bios settings ending in .json
2022-08-25 10:08:39 +01:00
Mario Limonciello
03d1e22d74
trivial: add get-bios-setting command to simple-client ( #4947 )
2022-08-24 21:19:23 +00:00