From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#27735: Lookup by UUID Date: Thu, 20 Jul 2017 23:51:15 +0200 Message-ID: <20170720235115.0958266c@scratchpost.org> References: <327af9f3-fdfb-7916-f0ea-9aec0fae20f3@tobias.gr> <20170717191731.2d3ad604@scratchpost.org> <87bmoi0xua.fsf@gnu.org> <20170719211107.51ebe24b@scratchpost.org> <87tw28kqh6.fsf_-_@gnu.org> <20170720193801.131a59c7@scratchpost.org> <87379qn92a.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:4830:134:3::10]:32875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYJMb-0004DR-Lg for bug-guix@gnu.org; Thu, 20 Jul 2017 17:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYJMY-0007iq-JA for bug-guix@gnu.org; Thu, 20 Jul 2017 17:52:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYJMY-0007ii-FQ for bug-guix@gnu.org; Thu, 20 Jul 2017 17:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYJMY-0000m8-7I for bug-guix@gnu.org; Thu, 20 Jul 2017 17:52:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87379qn92a.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27735@debbugs.gnu.org Hi Ludo, On Thu, 20 Jul 2017 22:32:29 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > > So... just leave the entire "search" instruction off if it's created by= grub-mkrescue ? That's how one could interpret thir "root device" sentenc= e... =20 >=20 > Oooh, interesting, that comes in handy. :-) >=20 > Now, how can we pass the information to =E2=80=98grub-configuration-file= =E2=80=99 so > that it doesn=E2=80=99t emit that =E2=80=9Csearch=E2=80=9D command? >=20 > It seems that the bootloader API doesn=E2=80=99t leave room to pass > bootloader-specific options. I can't believe I'm suggesting this (we've come full circle now) but we cou= ld add a new bootloader in gnu/bootloader/grub.scm,=20 (define* grub-hybrid-bootloader ; or grub-mkrescue-bootloader, maybe less m= isleading. (bootloader (inherit grub-efi-bootloader) (configuration-file-generator grub-configuration-file-without-search-emi= ssion) ; this here could parametrize grub-configuration-file somehow or may= be we could refactor grub-configuration-file instead. ; Note: name is still 'grub-efi, so the public boot parameters API doesn= 't change. (package grub-hybrid))) ; probably; or grub-efi if you just want a quick= test with EFI only. ... and use it in iso9660-image or gnu/system/install.scm .