From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iBW3GVpj3l9sZwAA0tVLHw (envelope-from ) for ; Sat, 19 Dec 2020 20:32:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YPx5FVpj3l/VBwAAbx9fmQ (envelope-from ) for ; Sat, 19 Dec 2020 20:32:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 06F11940430 for ; Sat, 19 Dec 2020 20:32:26 +0000 (UTC) Received: from localhost ([::1]:38088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqits-0005dx-Og for larch@yhetil.org; Sat, 19 Dec 2020 15:32:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqisb-0005de-DI for guix-patches@gnu.org; Sat, 19 Dec 2020 15:31:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqisY-0007Vw-7k for guix-patches@gnu.org; Sat, 19 Dec 2020 15:31:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqisY-0005F4-1i for guix-patches@gnu.org; Sat, 19 Dec 2020 15:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45225] [PATCH] gnu: grub: Fix unicode font loading when booting over TFTP. References: In-Reply-To: Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Dec 2020 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45225 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45225@debbugs.gnu.org, Danny Milosavljevic , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45225-submit@debbugs.gnu.org id=B45225.160840981017195 (code B ref 45225); Sat, 19 Dec 2020 20:31:01 +0000 Received: (at 45225) by debbugs.gnu.org; 19 Dec 2020 20:30:10 +0000 Received: from localhost ([127.0.0.1]:43236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqirh-0004Sx-SZ for submit@debbugs.gnu.org; Sat, 19 Dec 2020 15:30:10 -0500 Received: from smtpout2.vodafonemail.de ([145.253.239.133]:38760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqirc-0004Jp-UN for 45225@debbugs.gnu.org; Sat, 19 Dec 2020 15:30:08 -0500 Received: from smtp.vodafone.de (unknown [10.2.0.36]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 8BFF71234A1; Sat, 19 Dec 2020 21:29:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-smtpout-mb-15sep; t=1608409798; bh=z0k8czo8J+l+vI9awmW+rGfFFeQMmTF8j0OFdHTt/rw=; h=From:Subject:Date:To; b=KqPM9byFJTL3L/5XkLoajybCkRYjvvl6GZaErwsYYOZhNpvlkSwWfOmua4BjJVWdC lqBZXKRuC9IWitpW55q83CgGQTROjU+9VfYqh0XdGZHih8uqNHXFq1QDrGua/4CsdK 6ySulC2p8BGAoVvF7gGvVzj2e/2fWWLoXHvo1vZc= Received: from macbook-pro.kuh-wiese.my-router.de (dslb-002-202-077-089.002.202.pools.vodafone-ip.de [2.202.77.89]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 5B85714023A; Sat, 19 Dec 2020 20:29:58 +0000 (UTC) From: Stefan Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <5BC2CE26-5F2D-4250-A9E5-D04BB85DD942@vodafonemail.de> Date: Sat, 19 Dec 2020 21:29:58 +0100 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1365 X-purgate-ID: 155817::1608409798-00000667-D77768AD/0/0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.68 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=vodafonemail.de header.s=vfde-smtpout-mb-15sep header.b=KqPM9byF; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 06F11940430 X-Spam-Score: 0.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2h0L5D1oRHlq Hi Danny and Ludo! This patch got pushed and later reverted, as it is causing issues, = because /gnu/store=E2=80=A6-grub=E2=80=A6/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 =E2=80=93 = except for the recent pair =E2=80=93, 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=