From: "Ludovic Courtès" <ludo@gnu.org>
To: Stefan <stefan-guix@vodafonemail.de>
Cc: 45225@debbugs.gnu.org
Subject: [bug#45225] [PATCH] gnu: grub: Fix unicode font loading when booting over TFTP.
Date: Tue, 22 Dec 2020 14:38:18 +0100 [thread overview]
Message-ID: <877dpa2c6t.fsf@gnu.org> (raw)
In-Reply-To: <4043C397-47B2-4DA5-B873-86DABE169ED0@vodafonemail.de> (Stefan's message of "Mon, 21 Dec 2020 18:03:22 +0100")
Hi Stefan,
Stefan <stefan-guix@vodafonemail.de> skribis:
> Due to this, there is somewhere a /volume/systems/guix-system/gnu/store/…-bootloader-profile/share/grub/unicode.pf2, which is an *absolute* symlink to /gnu/store/…-grub-efi-2.04/share/grub/unicode.pf2.
>
> The generated grub.cfg now normally refers to /gnu/store/…-bootloader-profile/share/grub/unicode.pf2.
>
> When GRUB tries to load gnu/store/…-bootloader-profile/share/grub/unicode.pf2 via TFTP, due to a profile prepared *relative* symlink at /volume/systems/guix-system/boot/gnu/store to the real store location at ../..gnu/store/guix-system/gnu/store/ the TFTP server is able to access gnu/store/…-bootloader-profile/share/grub/unicode.pf2.
>
> And there is the problem: That /gnu/store/…-bootloader-profile/share/grub/unicode.pf2 is an *absolute* symlink with no meaning to the TFTP server, so loading the font fails.
>
> Simply speaking: Files for booting via TFTP must not be *absolute* symlinks.
It’s possible to create profiles that use relative symlinks:
(profile-derivation … #:relative-symlinks? #t)
or, for the declarative counterpart:
(profile (content …)
(relative-symlinks? #t))
Would that solve your problem?
BTW, I don’t see “bootloader-profile” in ‘master’; is it on a branch?
Thanks,
Ludo’.
next prev parent reply other threads:[~2020-12-22 13:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-13 17:25 [bug#45225] [PATCH] gnu: grub: Fix unicode font loading when booting over TFTP Stefan
2020-12-14 22:35 ` bug#45225: " Danny Milosavljevic
2020-12-19 20:29 ` [bug#45225] " Stefan
2020-12-21 14:50 ` Ludovic Courtès
2020-12-21 17:03 ` Stefan
2020-12-22 13:38 ` Ludovic Courtès [this message]
2020-12-22 15:21 ` Stefan
2021-01-17 15:51 ` Danny Milosavljevic
2021-01-17 15:57 ` Stefan
2020-12-28 11:24 ` [bug#45225] [PATCH] gnu: grub: Use installed unicode font, fix " Stefan
2021-01-07 16:37 ` Stefan
2021-01-17 14:13 ` Stefan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dpa2c6t.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=45225@debbugs.gnu.org \
--cc=stefan-guix@vodafonemail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).