|
From: | Ludovic Courtès |
Subject: | [bug#26339] "extlinux", "extlinux" gpt, bootloader-configuration without package nor installer |
Date: | Mon, 12 Jun 2017 22:09:21 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Mathieu Othacehe <address@hidden> 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’.
[Prev in Thread] | Current Thread | [Next in Thread] |