~ruther/guix-local

e6c9d02ea24caf4905e292b48e2f3ae8169362ab — Mathieu Othacehe 9 months ago 810dcc8
tests: installer: Display the final configuration file.

* gnu/installer/final.scm (install-system): Display the generated
configuration file in the syslog to ease installer tests debugging.

Change-Id: Ia5faf696a5244ece955616b4b9a350d057b93696
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/installer/final.scm
M gnu/installer/final.scm => gnu/installer/final.scm +5 -0
@@ 220,6 220,11 @@ or #f.  Return #t on success and #f on failure."

             (setenv "PATH" "/run/current-system/profile/bin/")

             (for-each (lambda (line)
                         (installer-log-line "~a" line))
                       (with-input-from-file (%installer-configuration-file)
                         read-lines))

             (set! ret (run-command install-command #:tty? #t)))
           (lambda ()
             ;; Stop guix-daemon so that it does no keep the MNT namespace