bootloader: Use <menu-entry> for the bootloader side.
authorDanny Milosavljevic <dannym@scratchpost.org>
Thu, 29 Jun 2017 10:42:59 +0000 (12:42 +0200)
committerDanny Milosavljevic <dannym@scratchpost.org>
Fri, 28 Jul 2017 19:56:18 +0000 (21:56 +0200)
commit1975c754f487eb4933724ca3b116442d21ef8dd9
tree6b6ffb984416b197135118ff0222c3ec85e53434
parent9ca8aa38ecce0b0651a0ff394ee4ce32bdd0bb41
bootloader: Use <menu-entry> for the bootloader side.

* 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.
(perform-action): Fix bootcfg usage.
gnu/bootloader.scm
gnu/bootloader/extlinux.scm
gnu/bootloader/grub.scm
gnu/system.scm
guix/scripts/system.scm