From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAbsY-0000R2-Ly for guix-patches@gnu.org; Tue, 16 May 2017 08:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAbsU-0007R6-LX for guix-patches@gnu.org; Tue, 16 May 2017 08:47:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAbsU-0007R2-Hg for guix-patches@gnu.org; Tue, 16 May 2017 08:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAbsU-0005a7-Ar for guix-patches@gnu.org; Tue, 16 May 2017 08:47:02 -0400 Subject: bug#26339: [PATCH v4 1/7] bootloader: Add extlinux support. Resent-Message-ID: References: <20170514074803.25556-1-m.othacehe@gmail.com> <20170514074803.25556-2-m.othacehe@gmail.com> <20170514104347.1a87906f@scratchpost.org> From: Mathieu Othacehe In-reply-to: <20170514104347.1a87906f@scratchpost.org> Date: Tue, 16 May 2017 14:46:24 +0200 Message-ID: <86k25ht1en.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 26339@debbugs.gnu.org Hi Danny, > Can you add a comment about the unit? Done. > Left-over debugging message? Ooop ;) > So bootloader-configuration-menu-entries are grub menu-entries, right? Earlier the code said they were boot-parameters (see quoted text above). Yes you're right there were a confusion here. I fixed it before applying. > >>+++ b/gnu/bootloader/grub.scm >> +(define-syntax-rule (grub-configuration fields ...) >> + (bootloader-configuration >> + (bootloader grub-bootloader) >> + fields ...)) > > Will these be able to resolve the symbols used? Because there are new modules now etc - do old configuration files which don't import those modules still work? Yes the will because most modules included (gnu) which no includes (gnu bootloader grub). For modules directly including (gnu system grub), this patch was already ok. See (gnu tests) for instance. > >> - (entry (operating-system-boot-parameters os system root-device))) >> - ((module-ref (resolve-interface '(gnu system grub)) >> - 'grub-configuration-file) >> - (operating-system-bootloader os) >> - (list entry) >> - #:old-entries old-entries))) >> + (entry (operating-system-boot-parameters os system root-device)) >> + (bootloader-conf -> (operating-system-bootloader os))) >> + ((bootloader-configuration-file-generator >> + (bootloader-configuration-bootloader bootloader-conf)) >> + bootloader-conf (list entry) #:old-entries old-entries))) > > Yay my band-aid is gone :) Yop ! > > Remainder of this patch LGTM! Thanks for your review ! Mathieu