From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKe3i-0005Hy-5l for guix-patches@gnu.org; Tue, 13 Jun 2017 01:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKe3e-0000lo-8f for guix-patches@gnu.org; Tue, 13 Jun 2017 01:08:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKe3e-0000lk-5Z for guix-patches@gnu.org; Tue, 13 Jun 2017 01:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKe3d-0000lM-TJ for guix-patches@gnu.org; Tue, 13 Jun 2017 01:08:01 -0400 Subject: [bug#26339] "extlinux", "extlinux" gpt, bootloader-configuration without package nor installer Resent-Message-ID: Date: Tue, 13 Jun 2017 07:07:11 +0200 From: Danny Milosavljevic Message-ID: <20170613070711.37377dea@scratchpost.org> In-Reply-To: <874lvl555l.fsf@gnu.org> 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> <874lvl555l.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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26339@debbugs.gnu.org Hi Ludo, On Mon, 12 Jun 2017 22:20:54 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > If =E2=80=9Cextlinux=E2=80=9D is just the name of the configuration file = format,=20 It depends. Syslinux-the-website thinks extlinux is the entire bootloader. And https://fedoraproject.org//wiki/Changes/u-boot_syslinux which is a trac= king page for adding support for extlinux.conf to u-boot (back then) says "= syslinux style configuration files". So we can also keep it as Mathieu intended and just overwrite the installer= for u-boot. Looks good to me. >Given that the configuration file syntax is similar but presumably not ide= ntical (?)=20 u-boot doesn't support the entire format. For example it can't currently d= o submenus. But the idea with the above Fedora change was to use the same = extlinux.conf for ARM and x86_64. No idea whether they are actually using = a subset still. >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-con= figuration-file=E2=80=99. >It=E2=80=99s a case where factorization is probably a bad idea. After looking into it some more, I'm fine with any of the ways to proceed a= nd defer the decision to Mathieu. At first I thought it would be clearer if we had the extlinux.conf file wri= ter common (also PXEboot and other things use it in the wild) - but it's no= t that bad to duplicated it. Maybe a little opaque and the different write= rs would probably diverge on accident as we added features - but if we were= careful it would be OK.