1
0
mirror of https://github.com/systemd/systemd.git synced 2025-10-04 05:44:39 +03:00
Go to file
Igor Opaniuk e2e42056fd efi/boot: use fallback entry in case of UEFI firmware update failure
Add support for using a fallback boot entry in case of UEFI firmware
capsule update failure [1]. The status of a firmware update is obtained from
the EFI System Resource Table (ESRT), which provides an optional mechanism
for identifying device and system firmware resources for the purposes of
targeting firmware updates to those resources.

Current implementation uses the value of LastAttemptStatus field from
ESRT, which describes the result of the last firmware update attempt for
the firmware resource entry. The field is updated each time an
UpdateCapsule() is attempted for an ESRT entry and is preserved across
reboots (non-volatile).

This can be be used in setups with support for A/B OTA updates, where
the boot firmware and Linux/RootFS are updated synchronously.

The check is activated by adding "fallback-firmware-failure" to
loader.conf

[1] https://uefi.org/specs/UEFI/2.10/23_Firmware_Update_and_Reporting.html
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
2024-10-22 16:20:38 +02:00
2022-04-26 09:13:57 +00:00
2024-10-11 07:33:42 +09:00
2024-10-07 19:40:58 +01:00
2024-04-18 17:39:34 +02:00
2024-08-05 15:00:24 +02:00
2023-10-31 13:07:49 +01:00
2024-09-22 15:23:08 +02:00
2024-10-21 17:24:14 +02:00
2024-04-11 12:58:53 +02:00
2024-10-18 17:58:45 -04:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 9
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Weblate
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel

Stable branches with backported patches are available in the stable repo.

We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack

Description
The systemd System and Service Manager
Readme 614 MiB
Languages
C 89%
Python 5.2%
Shell 4.4%
Meson 1.2%