bootloader: Adapt vm to new bootloader API.
authorMathieu Othacehe <m.othacehe@gmail.com>
Tue, 9 May 2017 08:52:02 +0000 (10:52 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Tue, 16 May 2017 12:41:01 +0000 (14:41 +0200)
commit9121ce553d267e9fdd4c6b9a268ce9d8677dd234
tree4d8b16f6d7c7b01104c62900c46500dc661514b3
parentb09a8da4a2e50845a297e041762f3ff9e649c047
bootloader: Adapt vm to new bootloader API.

* gnu/build/install.scm (install-boot-config): New procedure.
  (install-grub): Move to (gnu bootloader grub).
* gnu/build/vm.scm (register-bootcfg-root): Rename register-grub.cfg-root and
  adjust accordingly.
  (initialize-hard-disk): Takes a bootloader-package, bootcfg, bootcfg-location and
  bootloader-installer procedure. Adjust accordingly.
* gnu/system/vm.scm (qemu-image): Adjust to initialize-hard-disk.
  (system-disk-image, system-qemu-image, system-qemu-image/shared-store):
  Adjust to qemu-image.
gnu/build/install.scm
gnu/build/vm.scm
gnu/system/vm.scm