summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-06-15 11:34:21 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-06-15 11:40:07 +0900
commitdba3e997a439b8fbd45e8ee8bbed465f428e444f (patch)
tree427175efde8dfa863e13a46c560a614d5a9469f3 /gnu
parentdb263e855406a12594a124afc8c7b8a3d0ba90a0 (diff)
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: <https://issues.guix.gnu.org/80666> Reported-by: Martin Flack <martin.flack@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/bootloader/grub.scm2
1 files changed, 1 insertions, 1 deletions
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."
190 (if (memq 'gfxterm (bootloader-configuration-terminal-outputs config)) 190 (if (memq 'gfxterm (bootloader-configuration-terminal-outputs config))
191 #~(format #f " 191 #~(format #f "
192if loadfont unicode; then 192if loadfont unicode; then
193 set gfxmode=~a 193 set gfxmode=~s
194 insmod all_video 194 insmod all_video
195 insmod gfxterm 195 insmod gfxterm
196fi~%" 196fi~%"