From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 27529@debbugs.gnu.org
Subject: [bug#27529] [PATCH] bootloader: Use <menu-entry> for the bootloader side.
Date: Sun, 02 Jul 2017 16:59:55 +0200 [thread overview]
Message-ID: <8737ae995g.fsf@gnu.org> (raw)
In-Reply-To: <20170629104259.13537-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Thu, 29 Jun 2017 12:42:59 +0200")
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> * gnu/bootloader.scm (menu-entry-device-mount-point): New variable. Export it.
> (<menu-entry>: New field "device".
> * gnu/bootloader/grub.scm (grub-confgiuration-file): Handle <menu-entry>
> entries.
> * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Handle
> <menu-entry> entries.
> * gnu/system.scm (menu->entry->boot-parameters): Delete variable.
> (boot-parameters->menu-entry): New variable. Export it.
> (operating-system-bootcfg): Make OLD-ENTRIES a list of <menu-entry>.
> * guix/script/system.scm (reinstall-bootloader): Fix bootcfg usage.
> ---
> gnu/bootloader.scm | 3 +++
> gnu/bootloader/extlinux.scm | 19 +++++++++----------
> gnu/bootloader/grub.scm | 27 ++++++++++++---------------
> gnu/system.scm | 29 ++++++++++++++---------------
> guix/scripts/system.scm | 10 +++++-----
> 5 files changed, 43 insertions(+), 45 deletions(-)
Could you explain the rationale?
IIRC there was the idea that implementations of the bootloader API
should use <boot-parameters>, and that <menu-entry> would be used only
in the user-facing APIs (it had even disappeared with the initial
thing.)
I don’t have anything against it at first sight but I just want to make
sure we don’t enter a loop. :-)
Thanks,
Ludo’.
next prev parent reply other threads:[~2017-07-02 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 10:42 [bug#27529] [PATCH] bootloader: Use <menu-entry> for the bootloader side Danny Milosavljevic
2017-07-02 14:59 ` Ludovic Courtès [this message]
2017-07-02 18:26 ` Danny Milosavljevic
2017-07-09 19:30 ` Ludovic Courtès
2017-07-10 7:30 ` Mathieu Othacehe
2017-07-26 8:43 ` Ludovic Courtès
2017-07-27 12:55 ` [bug#27529] Guix system tests Danny Milosavljevic
2017-07-27 14:57 ` Ludovic Courtès
2017-07-29 11:50 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737ae995g.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=27529@debbugs.gnu.org \
--cc=dannym@scratchpost.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.