shared/bootspec: parse loader.conf options added in v258

This commit is contained in:
Felix Pehla
2025-09-27 21:58:21 +02:00
parent 5fb90fa319
commit aaa3e6880d

View 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);