diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-15 11:34:21 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-15 11:40:07 +0900 |
| commit | dba3e997a439b8fbd45e8ee8bbed465f428e444f (patch) | |
| tree | 427175efde8dfa863e13a46c560a614d5a9469f3 /gnu | |
| parent | db263e855406a12594a124afc8c7b8a3d0ba90a0 (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.scm | 2 |
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 " |
| 192 | if loadfont unicode; then | 192 | if 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 |
| 196 | fi~%" | 196 | fi~%" |
