From e6c9d02ea24caf4905e292b48e2f3ae8169362ab Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 7 Jul 2025 19:37:31 +0200 Subject: [PATCH] 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 --- gnu/installer/final.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm index 64c054cd86c..45ba1c524be 100644 --- a/gnu/installer/final.scm +++ b/gnu/installer/final.scm @@ -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