[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45225] [PATCH] gnu: grub: Fix unicode font loading when booting ove
From: |
Stefan |
Subject: |
[bug#45225] [PATCH] gnu: grub: Fix unicode font loading when booting over TFTP. |
Date: |
Sat, 19 Dec 2020 21:29:58 +0100 |
Hi Danny and Ludo!
This patch got pushed and later reverted, as it is causing issues, because
/gnu/store…-grub…/share/grub/unicode.pf2 is sometimes not visible when building
the grub.cfg file.
To understand what is happening here, I modified the creation of the grub.cfg
file to write the directory entries of /gnu/store visible at build time into a
file.
While the /gnu/store/ on disk shows thousands of entries, when building
grub.cfg there are only about 400 entries visible in my case doing a guix
system reconfigure. Although the grub-efi package is referred to with a
file-append gexp to build the path to the unicode.pf2 in
gnu/bootloader/grub.scm, it happens that the grub package is not available in
all cases in /gnu/store. The grub-efi package is gotten via (bootloader-package
bootloader) and the bootloader possibly from a /run/*-system/parameters file.
I also noticed that even all the Linux kernels and initrds – except for the
recent pair –, which end up being referred to from the grub.cfg, are not
visible in /gnu/store while building the grub.cfg.
What makes the list of visible entries in /gnu/store when building the
grub.cfg? And why might the gexp-referred grub-efi package not always be
visible? This feels like a bug to me.
Bye
Stefan