From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Arruga Vivas Subject: Re: [bug#35394] [PATCH 0/3] Bootloader localization Date: Mon, 21 Oct 2019 12:40:35 +0200 Message-ID: <20191021124035.531bed75@gmail.com> References: <20190423151702.05258473@gmail.com> <87tvehi6s6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44647) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMVCZ-0001vp-LP for guix-devel@gnu.org; Mon, 21 Oct 2019 06:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMVCY-0006l6-CP for guix-devel@gnu.org; Mon, 21 Oct 2019 06:46:15 -0400 In-Reply-To: <87tvehi6s6.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: 35394@debbugs.gnu.org Cc: guix-devel@gnu.org Hi Ludo=E2=80=99, El Mon, 29 Apr 2019 09:56:25 +0200 Ludovic Court=C3=A8s escribi=C3=B3: > Hi Miguel, >=20 > Thanks a lot for this work. I've been quite silent about this because I wanted to solve the issue with .mo files in a better way, but my current understanding is that the best way to go with that is to make grub installation (store-)reproducible and removing /boot altogether, so I'll open a different thread on the mailing list about that. For the moment, the patches following this mail rely on the installation of /boot/grub/locale, usually generated by grub-install. The generated grub.cfg scriptlet enables the use case for /boot in a different partition found in many other distributions (which breaks the boot when /gnu/store is encrypted in a different partition, I'm going to fill a bug for that too). I've tested them on the following machine configurations, on top of commit 5f760515c8: - grub-efi on x86_64-gnu-linux: * Encrypted partition for the whole disk. * Separate "/boot" (ext4) and "/" (ext4 and btrfs) partitions. - grub-pc on x86_64-gnu-linux: * Same as grub-efi, plus * Encrypted and different "/boot" and "/" partitions, typing manually in the console "cryptomount (hdX,msdosX)" with the "/" partition to allow grub loading the kernel image. > FWIW, I=E2=80=99m holding off review and integration after 1.0, but I=E2= =80=99m happy > if someone else reviews :-), I'm CCing the list to bring some attention onto it, I think it's on-topic enough to worth a try. The hardest part for review is the new test case, because I wanted to be 100% sure I didn't break anything. As you can see, the tested code didn't need almost any change, although I've made some changes on the test case from the last set of patches. > and I=E2=80=99ll be really happy to see it in master once 1.0 is out. I wish we'll see it in master soon. Best regards, Miguel