]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/bootspec: parse loader.conf options added in v258
authorFelix Pehla <29adc1fd92@gmail.com>
Sat, 27 Sep 2025 19:58:21 +0000 (21:58 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 14:59:40 +0000 (16:59 +0200)
(cherry picked from commit aaa3e6880da71c2faefb619ea7a974dab6a8443d)

src/shared/bootspec.c

index 2054ea6fb88cbc5fc27b74ede3ca594abd7a35f3..4d85fffe01aa241a0ba81e076d81d2d3855ea489 100644 (file)
@@ -514,7 +514,8 @@ int boot_loader_read_conf(BootConfig *config, FILE *file, const char *path) {
                         r = free_and_strdup(&config->default_pattern, p);
                 else if (STR_IN_SET(field, "timeout", "editor", "auto-entries", "auto-firmware",
                                     "auto-poweroff", "auto-reboot", "beep", "reboot-for-bitlocker",
-                                    "secure-boot-enroll", "console-mode"))
+                                    "reboot-on-error", "secure-boot-enroll", "secure-boot-enroll-action",
+                                    "console-mode"))
                         r = 0; /* we don't parse these in userspace, but they are OK */
                 else {
                         log_syntax(NULL, LOG_WARNING, path, line, 0, "Unknown line '%s', ignoring.", field);