From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Date: Sun, 04 Jun 2017 22:49:55 +0300 Message-ID: <87o9u35y8s.fsf@gmail.com> References: <20170604104701.GA4279@floriannotebook> <87shjfq3ek.fsf@gmail.com> <20170604142513.GA18416@floriannotebook> 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]:47715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHbYI-0002xV-Cv for bug-guix@gnu.org; Sun, 04 Jun 2017 15:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHbYF-0004QX-4W for bug-guix@gnu.org; Sun, 04 Jun 2017 15:51:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHbYF-0004Pr-0b for bug-guix@gnu.org; Sun, 04 Jun 2017 15:51:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHbYE-0007WS-JY for bug-guix@gnu.org; Sun, 04 Jun 2017 15:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170604142513.GA18416@floriannotebook> (pelzflorian@pelzflorian.de's message of "Sun, 4 Jun 2017 16:25:13 +0200") 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: "pelzflorian (Florian Pelz)" Cc: 27231@debbugs.gnu.org pelzflorian (Florian Pelz) (2017-06-04 16:25 +0200) wrote: > On Sun, Jun 04, 2017 at 04:38:11PM +0300, Alex Kost wrote: >> This is a limitation of 'grub-configuration' macro: that backtrace >> happened because you have 'grub' field *not* in the first place of your >> 'grub-configuration'. >> >> [=E2=80=A6] >> >> Note that this will work if you put (grub grub-efi) in the first place: >>=20 >> (grub-configuration (grub grub-efi) >> (device "/dev/sda")) >> > > Ah=E2=80=A6 Thank you for clarifying. > > (bootloader (grub-configuration (grub grub-efi) > (device "/dev/sda"))) > > I just tried and this fails too with the same error. I=E2=80=99m not sure= why > it does not match the syntax rule for grub-configuration. Hm, strange, it doesn't give me that error when 'grub' is in the first place. Anyway, I would use 'bootloader-configuration' instead as you do it now. > This macro seems complicated and unintuitive. I don=E2=80=99t like how a > syntax rule feigns being a record definition but isn=E2=80=99t and theref= ore > breaks things=E2=80=A6 Why not just inherit bootloader-configuration? I don't know, it's better to ask Mathieu (Cc-ed) who made these changes in the bootloader code. --=20 Alex