Commit Graph

9 Commits

Author SHA1 Message Date
Richard Hughes
5a4229fce6 Allow enabling low-level debugging of fwupdx64.efi from uefi_capsule.conf
Short-to-medium-term we want to stop installing fwupdate and this was the last
useful part we never migrated.
2023-02-21 09:13:28 -06:00
Mario Limonciello
2b96b9e933 Add a quirk for COD detection
Insyde has added a bit into the ACPI UEFI table that can be utilized
to detect if they have fixed the COD bug.

This means that COD can be turned on by default for X86 for all vendors
that support it, and if Insyde is encountered whenever that bit is active.
2023-02-19 08:38:52 +00:00
Mario Limonciello
2ddda260a6 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-16 11:32:36 -06:00
Mario Limonciello
5266d62611 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-16 11:32:36 -06:00
Richard Hughes
b25e0f3a28 uefi-capsule: Require at least 80MB free in the ESP
See https://github.com/fwupd/firmware-lenovo/issues/257
2023-02-15 16:12:26 +00:00
Josh Soref
67deecde31
Lots of spelling fixes
Fixes:

* activate
* active
* additional
* and
* approaches
* attestation
* bootloader
* calculate
* capability
* children
* close
* compatible
* continuous
* convenience
* critical
* data
* delivery
* disabled
* disambiguate
* documented
* elapse
* emergency
* erasable
* expectations
* filesystem
* from
* haptic
* ignorable
* images
* infinity
* information
* information
* inhibited
* insufficient
* interrupt
* into
* limited
* management
* manifest
* maximum
* memory
* metadata
* mismatch
* model
* nonexistent
* not
* objects
* offset
* omissions
* ota
* past
* perform
* peripherals
* predictable
* product
* quarterly
* quirk
* quirks
* recognize
* release
* requests
* revocation
* sanitized
* sector
* status
* the
* the update
* timeout
* transfer
* transfers
* typically
* unspecified
* upgrade
* which
* will
* wireless
2022-12-29 13:57:31 +00:00
Richard Hughes
1e7d741601 Check system integrity when installing UEFI updates
Recently we had an update that changed the system-defined Platform Key, and
we've certainly had updates in the past that changed the Boot#### variables.

Store some core ACPI and UEFI system integrity state from before and after the
update which can be used to mark (waivable) test failures on the LVFS.
2022-11-03 15:51:10 +00:00
Richard Hughes
41973568a6 uefi-capsule: Try harder when trying to find the default ESP
Look for a plausible path existing, still continuing to the first entry on
failure as before. This makes it "work" for more people out-of-the-box.
2022-10-07 15:11:38 +01:00
Richard Hughes
99002a7a18 Build many more plugins as builtin
This reduces the plugin directory size by 2.2Mb
2022-09-28 17:01:23 +01:00