From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKVf3-00011M-GZ for guix-patches@gnu.org; Mon, 12 Jun 2017 16:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKVf0-0007v9-CN for guix-patches@gnu.org; Mon, 12 Jun 2017 16:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKVf0-0007v5-9E for guix-patches@gnu.org; Mon, 12 Jun 2017 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKVf0-0008Ua-1f for guix-patches@gnu.org; Mon, 12 Jun 2017 16:10:02 -0400 Subject: [bug#26339] "extlinux", "extlinux" gpt, bootloader-configuration without package nor installer Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170402134916.2871-1-m.othacehe@gmail.com> <20170610085327.1353-1-m.othacehe@gmail.com> <87lgozyl52.fsf@gnu.org> <8760g2oqzc.fsf@gmail.com> <20170611115457.72395d51@scratchpost.org> <86ink1il2w.fsf@gmail.com> Date: Mon, 12 Jun 2017 22:09:21 +0200 In-Reply-To: <86ink1il2w.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 12 Jun 2017 11:58:31 +0200") Message-ID: <87ink155ou.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mathieu Othacehe Cc: 26339@debbugs.gnu.org Mathieu Othacehe skribis: > The fact that u-boot-bootloader inherits from extlinux-bootloader seems > strange, even if u-boot is configured with a file following extlinux > syntax. > > Maybe we could write : > > (define u-boot-bootloader > (bootloader > (package #f) > (name 'u-boot) > (installer install-u-boot) > (configuration-file "/boot/extlinux.conf") > (configuration-file-generator extlinux-configuration-file))) > > where extlinux-configuration-file is exported from extlinux.scm ? Given that the configuration file syntax is similar but presumably not identical (?) and that it=E2=80=99s fairly simple, it may be best to simply= have both =E2=80=98extlinux-configuration-file=E2=80=99 and =E2=80=98u-boot-conf= iguration-file=E2=80=99. It=E2=80=99s a case where factorization is probably a bad idea. WDYT? Ludo=E2=80=99.