From dba3e997a439b8fbd45e8ee8bbed465f428e444f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 15 Jun 2026 11:34:21 +0900 Subject: grub: Quote the gfxmode value set. Previously, when setting multiple graphic modes, the expanded config would read set gfxmode mode1;mode2;..., that is, the value was not quoted so only the first one would be used, GRUB terminating the command on the first ';' encountered. * gnu/bootloader/grub.scm (eye-candy): Format gfxmode textually (as write would), with ~s, so that it appears as a double-quoted string. Fixes: Reported-by: Martin Flack --- gnu/bootloader/grub.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/bootloader') diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index e7414476f3e..79b9a1cac6f 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -190,7 +190,7 @@ prepend to any store file name." (if (memq 'gfxterm (bootloader-configuration-terminal-outputs config)) #~(format #f " if loadfont unicode; then - set gfxmode=~a + set gfxmode=~s insmod all_video insmod gfxterm fi~%" -- cgit v1.2.3