Commit Graph

7734 Commits

Author SHA1 Message Date
Dylan Van Assche
d0d4b17a7f plugins: android-boot: new plugin
Add a plugin for supporting Android bootloaders which are used on
all Qualcomm-based Android devices. These bootloaders are stored on
their own partitions and the partition table cannot be altered on
Qualcomm devices. This plugin supports any block device, but only
exposes the ones defined in the quirk file as updatable.
2022-09-05 17:59:11 +01:00
Richard Hughes
92db5fc87a modem-manager: Fix a critical warning when issuing Secure Boot AT commands
Fixes https://github.com/fwupd/fwupd/issues/4998
2022-09-05 17:53:27 +01:00
Mario Limonciello
4f3105369a trivial: debian: fix debian/control generator
In a previous move we lost the ability to populate the control file
with archicture specific information.  Restore this feature.
2022-09-05 07:09:05 -05:00
Mario Limonciello
62fd53d7ae trivial: debian: add fwupd-unsigned-dev to build deps 2022-09-05 07:09:05 -05:00
Mario Limonciello
f535bc4bd3 trivial: debian: conditionally install quirks.d 2022-09-05 07:09:05 -05:00
Mario Limonciello
20eb0ff32e trivial: debian: Add support for Build-Profile nodoc
Link: https://wiki.debian.org/BuildProfileSpec
2022-09-05 07:09:05 -05:00
Richard Hughes
709af2a269 Add shared functionality to get the parsed kernel cmdline 2022-09-02 14:35:48 +01:00
Andrii Dushko
e6e17a69d7
corsair: remove support for some devices
Vendor has decided to remove these devices from the initial supported
device list:
    * KATAR PRO WIRELESS mouse
    * HARPOON RGB WIRELESS mouse
2022-09-02 14:39:19 +03:00
Mario Limonciello
8da0fc347b trivial: fix automatically turning off introspection 2022-09-02 06:10:53 -05:00
Mario Limonciello
f9b631f704 trivial: match markdown version using meson instead
This drops the python packaging module requirement
2022-09-02 06:10:53 -05:00
Mario Limonciello
04573f46a3 trivial: loosen markdown dependency to 3.2
Link: https://gitlab.gnome.org/GNOME/gi-docgen/-/merge_requests/166
2022-09-02 06:10:53 -05:00
Mario Limonciello
22cc5d8caa trivial: find python installation using meson find_installation 2022-09-02 06:10:53 -05:00
Mario Limonciello
f6fddc1470 trivial: show a better error why docs fails if markdown not installed
We require at least 3.3.3, but if they don't have anything at least show a message.
2022-09-01 10:43:34 -05:00
Andrii Dushko
330a67b5fe corsair: add SABRE RGB PRO Gaming mouse 2022-09-01 11:41:49 +01:00
Mario Limonciello
ff06f98a38 trivial: update golang container for msi publishing
The deploy job failed at 1.8.4 release, move up to a current version
of golang instead to fix this.
2022-08-31 10:07:28 -05:00
Richard Hughes
949763102d trivial: Only build CI for macos-11
We've never found a different in compilation between 10.15 and 11.
2022-08-31 09:32:52 -05:00
Richard Hughes
143f9a124c Remove FreeBSD CI
It's not worked for several months and is just spamming my inbox with failures.
2022-08-31 15:28:47 +01:00
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
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
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
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