Subject: [bug#26339] "extlinux", "extlinux" gpt, bootloader-configuration without package nor installer

From: [email-masked] (Ludovic Courtès)
Date: Mon, 12 Jun 2017 22:09:21 +0200

Mathieu Othacehe <[email-masked]> 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’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.

WDYT?

Ludo’.