summaryrefslogtreecommitdiff
path: root/gnu/installer
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2025-07-07 19:37:31 +0200
committerMathieu Othacehe <othacehe@gnu.org>2025-11-02 13:54:26 +0100
commite6c9d02ea24caf4905e292b48e2f3ae8169362ab (patch)
tree7cd9fd6c2b556b44386380d41b4b7dfa489392ab /gnu/installer
parent810dcc837c37f0a692085f674e6302243eb49395 (diff)
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
Diffstat (limited to 'gnu/installer')
-rw-r--r--gnu/installer/final.scm5
1 files changed, 5 insertions, 0 deletions
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