From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKM7l-00054O-3l for guix-patches@gnu.org; Mon, 12 Jun 2017 05:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKM7h-0003W6-Vi for guix-patches@gnu.org; Mon, 12 Jun 2017 05:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKM7h-0003W2-Ra for guix-patches@gnu.org; Mon, 12 Jun 2017 05:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKM7h-0001ED-KV for guix-patches@gnu.org; Mon, 12 Jun 2017 05:59:01 -0400 Subject: [bug#26339] "extlinux", "extlinux" gpt, bootloader-configuration without package nor installer Resent-Message-ID: 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> From: Mathieu Othacehe In-reply-to: <20170611115457.72395d51@scratchpost.org> Date: Mon, 12 Jun 2017 11:58:31 +0200 Message-ID: <86ink1il2w.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, I must admin the disctinction between syslinux and extlinux is a bit unclear to me. Reading this page : http://www.syslinux.org/wiki/index.php?title=EXTLINUX "EXTLINUX is a Syslinux variant which boots from a Linux filesystem." Which means that extlinux is a bootloader per-se and the current naming in gnu/bootloader/extlinux.scm makes sense. The wikipedia page of syslinux, also explains that syslinux is a "suite of bootloaders" including : - syslinux (the original one used for booting from fat and ntfs) - extlinux - pxelinux - memdist However, I must admit there's something strange here : --8<---------------cut here---------------start------------->8--- (define u-boot-bootloader (bootloader (inherit extlinux-bootloader) (package #f) (name 'u-boot) (installer install-u-boot) (configuration-file "/boot/extlinux.conf"))) --8<---------------cut here---------------end--------------->8--- 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 : --8<---------------cut here---------------start------------->8--- (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))) --8<---------------cut here---------------end--------------->8--- where extlinux-configuration-file is exported from extlinux.scm ? Thanks, Mathieu