GNU bug report logs - #26339
[PATCH 00/18] wip: Support non grub bootloaders.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Sun, 2 Apr 2017 13:51:01 UTC

Severity: important

Tags: patch

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #561 received at 26339 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 26339 <at> debbugs.gnu.org, Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: Re: "extlinux", "extlinux" gpt, bootloader-configuration without
 package nor installer
Date: Tue, 13 Jun 2017 07:07:11 +0200
Hi Ludo,

On Mon, 12 Jun 2017 22:20:54 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:

> If “extlinux” is just the name of the configuration file format, 

It depends.

Syslinux-the-website thinks extlinux is the entire bootloader.

And https://fedoraproject.org//wiki/Changes/u-boot_syslinux which is a tracking 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 identical (?) 

u-boot doesn't support the entire format.  For example it can't currently do 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’s fairly simple, it may be best to simply have
>both ‘extlinux-configuration-file’ and ‘u-boot-configuration-file’.
>It’s 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 and defer the decision to Mathieu.

At first I thought it would be clearer if we had the extlinux.conf file writer common (also PXEboot and other things use it in the wild) - but it's not that bad to duplicated it.  Maybe a little opaque and the different writers would probably diverge on accident as we added features - but if we were careful it would be OK.




This bug report was last modified 7 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.