From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gBS/CwrCDWR5VwEASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 13:14:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wCHCCwrCDWRy1AAA9RJhRA (envelope-from ) for ; Sun, 12 Mar 2023 13:14:02 +0100 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 0EFD42CFA6 for ; Sun, 12 Mar 2023 13:14:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbKZz-0003TW-3r; Sun, 12 Mar 2023 08:13:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbFx1-0001KT-1M for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbFx0-0003Bt-PM for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbFx0-0001H8-5J for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62139: Grub resource files should be in the EFI partition Resent-From: Emmanuel Beffara Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Mar 2023 07:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62139 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62139@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16786054194868 (code B ref -1); Sun, 12 Mar 2023 07:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2023 07:16:59 +0000 Received: from localhost ([127.0.0.1]:59012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbFww-0001GP-5m for submit@debbugs.gnu.org; Sun, 12 Mar 2023 03:16:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:57934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb38l-0003F2-8A for submit@debbugs.gnu.org; Sat, 11 Mar 2023 12:36:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb38j-0002HH-Jg for bug-guix@gnu.org; Sat, 11 Mar 2023 12:36:17 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb38g-0004pb-VT for bug-guix@gnu.org; Sat, 11 Mar 2023 12:36:17 -0500 Received: (Authenticated sender: manu@beffara.org) by mail.gandi.net (Postfix) with ESMTPSA id 05E07E0002 for ; Sat, 11 Mar 2023 17:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1678556170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=Ez54LzOVeDwo1VuFmQafUblKUR/D7yBz8owuZNEDQKU=; b=GVR8HRERXuZptPL59j7hyAs26nWmaJl1KgJN1YFwCxs/eP3cz3CVCcRHE8/Qj7u9QF4m5H GiCfUmXWgUXlUIeA7Ag7dghvRIDJh41WIuvxPrRM859F6iOItPUixpuxgmA2RQ4f3QaCvi gIGcE54idsq0JytS0vQe+Gpxfjvfbpc5RZa6r62sJ07tr7WSdGv1EK9wx9nxKI7/wKxEnj cl7JmigSUhRkkxP7+HareOky4VKYog1MZmcLNXgdQqSBLl0yGwD4RdC9iG5LKfxT1i7YyP XAicPru12oc9NEzFVG4ELL9bNnbYnW6y29p7jZykAOczu39y5p9WQ3Vpg1yf0Q== Date: Sat, 11 Mar 2023 18:36:07 +0100 Message-ID: <20230311183607.GB20567@beffara.org> From: Emmanuel Beffara References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:4b98:dc4:8::224; envelope-from=manu@beffara.org; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 12 Mar 2023 03:16:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 12 Mar 2023 08:13:34 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=GVR8HRER; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678623242; a=rsa-sha256; cv=none; b=ZrQAHWQQWQU09ZzjfSkT6HkeHcuXAx6/LA0qu6npqt2FYzkgQfmf+AILPyEl6EVZCcmw+u 0rx5lxeABPgze5zndlD5wPDy+GHr7csxOtpY28JTQpzJij9lIetU/dlColQhv7d3jBTx13 9BtcpeI9NG1BZ7pm9su5DgKxN9CX+DI/twd8ZBt5GVBlgLTurt++1i0Fr4UcY9r3K09TD/ W+oKM40sw2RCzpfSVbAEPZQm4ykesw+td0miU+ZuVEn+hxLv2xmVa3YDLW2HTIUS6u8lQp L/HLhFGslyO6ZKupAN+FtzIJv8mKVezkQudRSFU2eB8UTWoA7nc6H50xginemA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678623242; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Ez54LzOVeDwo1VuFmQafUblKUR/D7yBz8owuZNEDQKU=; b=Elc3hWZyyZM9Y/Nvgb5a/OGNXM2JIG73zWnu8ILUPJQ5LUSiEsJqdxuzPXM6kNGI0n9pfI KUfIiuN2+3y9P5Wu++js79D5MyulVFVI2R/w1j6ItPk3oqEOPgypvml70uwdpM6+5Y+4wP unBYLF/w1zTmENEmmWv8bWBVEFj7s9kVj7t0V9AeyKs1dMfG6utBo6GN4HULatWlKJ9ez5 jXf+SVmLwtKcL/vdRmBny2CdbvMa6R1SeSw8xH5dEW4py40gohYLJEf4GRdCmlXX3mXMiG bRSc381WXQFQGYC3gA0jOzxeUB2SG8v4KtjyrDtsd7MbmF+RQve2NiIFortiKA== X-Migadu-Spam-Score: -2.51 X-Spam-Score: -2.51 X-Migadu-Queue-Id: 0EFD42CFA6 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=GVR8HRER; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: ONTgZEc40ssH Hello Guix, The installation process for Grub should put the resource files, notably keymaps and locales, in the EFI partition, so that they can be used early in the boot process, before any user interaction. In the context of full-disk encryption, this is very important because in the current state of things, one has to enter the passphrase using the default US layout before the proper keymap can be loaded from the encrypted store. One can manage working around that with a bit of training, but having to enter a passphrase with an incorrect keymap is objectively a broken behaviour. I have no experience hacking Guix so I don't know how to try and patch grub.scm to implement that, but I would be happy to learn… -- Emmanuel