]> 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)
committerFelix Pehla <29adc1fd92@gmail.com>
Mon, 29 Sep 2025 21:14:11 +0000 (23:14 +0200)
src/shared/bootspec.c

index 9fa50608f5f4fd0926d72d54139175305eafe4f3..7bae3b00757ed7e4aa6a7921887e8f23aba7ebda 100644 (file)
@@ -516,7 +516,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);