~ruther/guix-local

03daeaa70fa9e248b1c20e79610c546e07b54ebf — Danny Milosavljevic 9 years ago 32380cd
scripts: system: Back out operating-system-bootcfg change.

Follow-up to 475e2ce211ac05a814c1f1bc2b9648baa17ad369.

* guix/scripts/system.scm (perform-action): Back out operating-system-bootcfg
change.
1 files changed, 4 insertions(+), 4 deletions(-)

M guix/scripts/system.scm
M guix/scripts/system.scm => guix/scripts/system.scm +4 -4
@@ 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-bootcfg os
                                                (if (eq? 'init action)
                                                    '()
                                                    (profile-grub-entries)))))
                      (operating-system-grub.cfg 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