system: Rename operating-system-grub.cfg to operating-system-bootcfg.

* gnu/system.scm (operating-system-grub.cfg): Rename to...
(operating-system-bootcfg): ... this.
* gnu/system/vm.scm (system-disk-image): Use operating-system-bootcfg.
(system-qemu-image): Use operating-system-bootcfg.
(system-qemu-image/shared-store): Use operating-system-bootcfg.
* guix/scripts/system.scm (perform-action): Use operating-system-bootcfg.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Mathieu Othacehe 2017-04-02 15:52:29 +02:00 committed by Danny Milosavljevic
parent 03daeaa70f
commit c76b3046f6
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
3 changed files with 18 additions and 17 deletions

View file

@ -622,10 +622,10 @@ output when building a system derivation, such as a disk image."
(operating-system-bootloader os))))
(grub.cfg (if (eq? 'container action)
(return #f)
(operating-system-grub.cfg os
(if (eq? 'init action)
'()
(profile-grub-entries)))))
(operating-system-bootcfg os
(if (eq? 'init action)
'()
(profile-grub-entries)))))
;; For 'init' and 'reconfigure', always build GRUB.CFG, even if
;; --no-grub is passed, because GRUB.CFG because we then use it as a GC