gnu: grub: Add support for building configuration files.
authorLudovic Courtès <ludo@gnu.org>
Sat, 7 Sep 2013 15:23:23 +0000 (17:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 7 Sep 2013 15:23:23 +0000 (17:23 +0200)
commit0e2ddecd8e9a0f2dc856f2a2da9a9c98688d195c
tree9bd0a2ecd2ae4cf41f5e893e270b470381285940
parent2df74ac1175225b1e3080acb3e7ea61ad16424f6
gnu: grub: Add support for building configuration files.

* gnu/packages/grub.scm (<menu-entry>): New record type.
  (grub-configuration-file): New procedure.
* gnu/system/vm.scm (qemu-image): Remove parameters 'linux',
  'linux-arguments', and 'initrd'.  Add 'grub-configuration' parameter.
  Honor them, and remove grub.cfg generation code accordingly.
  (example2): Use `grub-configuration-file', and adjust accordingly.
gnu/packages/grub.scm
gnu/system/vm.scm