From d949c467b8741fec1ee89b95f5e565e859b345f5 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 26 Nov 2018 06:43:33 +0900 Subject: [PATCH 1/2] sd-boot: fix trailing whitespace trimming Fixes #10922. --- src/boot/efi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index d3a26fd7a0..4719eeaf4b 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -981,7 +981,7 @@ skip: } /* remove trailing whitespace */ - while (linelen > 0 && strchra(sep, line[linelen-1])) + while (linelen > 0 && strchra((CHAR8 *)" \t", line[linelen-1])) linelen--; line[linelen] = '\0'; From cbae79b8d07327051c1e1f438f7086ab634b93f8 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 26 Nov 2018 06:58:28 +0900 Subject: [PATCH 2/2] man: systemd-boot does not read loader.conf.d/*.conf Fixes #10923. --- man/loader.conf.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man/loader.conf.xml b/man/loader.conf.xml index 6f8d0489d2..f9d98dd4d9 100644 --- a/man/loader.conf.xml +++ b/man/loader.conf.xml @@ -23,7 +23,7 @@ ESP/loader/loader.conf, - ESP/loader/loader.conf.d/*.conf + ESP/loader/entries/*.conf @@ -32,9 +32,9 @@ systemd-boot7 - will read /loader/loader.conf and any files with the + will read ESP/loader/loader.conf and any files with the .conf extension under - /loader/loader.conf.d/ on the EFI system partition (ESP). + ESP/loader/entries/ on the EFI system partition (ESP). Each configuration file must consist of an option name, followed by @@ -50,7 +50,7 @@ Options - The following configuration options are understood: + The following configuration options in loader.conf are understood: