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
3e0a4dc1c3
Be smarter and include less header files per source file
2022-06-14 14:36:52 -05:00
Norbert Kamiński
7fdf7c60ee
fu-uefi-common.h: Fix efivar compatibility with FreeBSD
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2022-01-21 16:24:37 +00:00
Richard Hughes
e74d38bfd3
Fix compiling with new versions of efivar
...
Fixes https://github.com/fwupd/fwupd/issues/4181
2022-01-17 15:27:05 +00:00
Mario Limonciello
64e7ea25b1
Fix the logic for removable fallback path in uefi-capsule
...
The logic was built on the presumption of Ubuntu core which doesn't
have /etc/os-release. Since other distributions do have /etc/os-release
adjust the logic to instead build the path explicitly.
2022-01-15 07:09:04 -06:00
Mario Limonciello
55de39c077
trivial: reformat the whole tree to match new format
2021-08-24 11:18:40 -05:00
Mario Limonciello
b87c6dab95
uefi-capsule: Add support for installing UEFI updates from GRUB
...
Shim has had a hard time with loading updates from arguments in the
most recent release and this isn't the first time that happened.
Give distros and users an escape hatch that will allow using GRUB
instead.
2021-07-28 17:11:39 +01:00
Richard Hughes
3747e245e5
uefi-capsule: Add support for CapsuleOnDisk
...
Based on a patch by Ilias Apalodimas <ilias.apalodimas@linaro.org>,
many thanks.
Fixes https://github.com/fwupd/fwupd/issues/2900
2021-07-28 17:11:39 +01:00
Mario Limonciello
73cdf067ed
trivial: fixup includes for a variety of plugins
2021-06-14 10:12:45 +01:00
Richard Hughes
6c07675558
uefi-capsule: Split out the Linux specific ESRT enumeration
...
This allows us to add the same functionality for FreeBSD and Windows.
2021-05-25 17:17:45 +01:00
Richard Hughes
5c9b1fcc81
Only include the start year in the copyright header
...
The end year is legally and functionally redundant, and more importantly causes
cherry-pick conflicts when trying to maintain old branches. Use git for history.
2021-01-07 14:48:16 +00:00
Richard Hughes
ee2e2c3674
uefi: Rename to uefi-capsule
...
Rename the plugin to make it clearer of the scope.
Based on a patch from Mario Limonciello <mario.limonciello@dell.com>
2021-01-05 15:31:22 +00:00