1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-10 05:18:17 +03:00
systemd/src/boot
Clayton Craft 0f781d2aa5 boot: load device tree even if no original config exists
Firmware may not have loaded a devicetree, for example if the device
shipped with windows and exclusively supports ACPI.
We should always load the specified devicetree regardless of firmware
state to enable booting on platforms where Linux only supports DT.

Note: in _cleanup, the orig. config is NULL in this case, and passing
NULL to InstallConfigurationTable is permitted by the EFI spec.
See: https://uefi.org/specs/UEFI/2.10/07_Services_Boot_Services.html

Fixes #24059

Co-authored-by: Daniel Thompson <daniel.thompson@linaro.org>
2023-11-10 22:04:50 +00:00
..
efi boot: load device tree even if no original config exists 2023-11-10 22:04:50 +00:00
bless-boot-generator.c generator: run various generators only run on the host, not in initrd 2023-07-04 23:15:36 +02:00
bless-boot.c bless-boot: Actually return successfully 2023-08-02 15:16:33 +02:00
boot-check-no-failures.c basic: move version() to build.h+c 2022-11-08 13:41:14 +01:00
bootctl-install.c bootctl: fix code comment 2023-11-09 12:14:01 +00:00
bootctl-install.h bootctl: split out "install" verb too 2022-12-19 12:08:02 +01:00
bootctl-random-seed.c io-util: introduce loop_write_full that takes a timeout 2023-09-07 20:30:44 +08:00
bootctl-random-seed.h bootctl: split out random seed verb, too 2022-12-19 11:43:19 +01:00
bootctl-reboot-to-firmware.c bootctl: return 0 instead of EXIT_SUCCESS 2023-03-17 20:40:34 +09:00
bootctl-reboot-to-firmware.h bootctl: let's start splitting up bootctl like we did for systemctl and others 2022-12-19 11:43:19 +01:00
bootctl-set-efivar.c tree-wide: fix typo 2023-10-18 12:40:25 +09:00
bootctl-set-efivar.h bootctl: split out "set-efivar" verbs, too 2022-12-19 12:06:33 +01:00
bootctl-status.c sd-boot: add way to disable the 100ms delay when timeout=0 2023-10-17 15:09:53 +01:00
bootctl-status.h bootctl: unlink and cleanup functions 2023-01-19 14:24:43 +01:00
bootctl-systemd-efi-options.c bootctl: don't advertise systemd-efi-options in --help/man anymore 2023-08-09 14:25:46 +02:00
bootctl-systemd-efi-options.h bootctl: also split out 'systemd-efi-options' verb 2022-12-19 11:52:09 +01:00
bootctl-uki.c kernel-image: make inspect_kernel() optionally take directory fd 2023-04-09 07:10:20 +02:00
bootctl-uki.h bootctl: add kernel-inspect command 2023-01-18 14:32:14 +01:00
bootctl-util.c bootctl: use RET_GATHER, return first error 2023-07-13 11:12:00 +02:00
bootctl-util.h bootctl: honor $KERNEL_INSTALL_CONF_ROOT 2023-01-10 15:17:07 +01:00
bootctl.c bootctl: fix -q option 2023-11-06 16:36:38 +00:00
bootctl.h find-esp: change "unprivileged_mode" parameter to be tristate 2023-05-31 10:12:47 +02:00
measure.c tpm2: downgrade most log functions from error to debug 2023-10-03 17:13:50 +01:00
meson.build meson: Always build systemd-measure 2023-10-25 16:49:30 +02:00