[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: installer: Remove specific logging code.
From: |
guix-commits |
Subject: |
06/18: installer: Remove specific logging code. |
Date: |
Mon, 17 Jan 2022 05:04:52 -0500 (EST) |
mothacehe pushed a commit to branch wip-harden-installer
in repository guix.
commit d2d7fcf56495ebd4777a30eda0050ab6c80f5a62
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Sat Jan 15 14:49:59 2022 +0100
installer: Remove specific logging code.
* gnu/installer/final.scm (install-system): Remove command logging to
syslog, as this is taken care of by the new facilities.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/installer/final.scm | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm
index 7d5eca4c7e..63e5073ff4 100644
--- a/gnu/installer/final.scm
+++ b/gnu/installer/final.scm
@@ -211,17 +211,7 @@ or #f. Return #t on success and #f on failure."
(setenv "PATH" path)
- ;; If there are any connected clients, assume that we are running
- ;; installation tests. In that case, dump the standard and error
- ;; outputs to syslog.
- (set! ret
- (if (not (null? (current-clients)))
- (with-output-to-file "/dev/console"
- (lambda ()
- (with-error-to-file "/dev/console"
- (lambda ()
- (run-command install-command)))))
- (run-command install-command))))
+ (set! ret (run-command install-command)))
(lambda ()
;; Restart guix-daemon so that it does no keep the MNT namespace
;; alive.
- branch wip-harden-installer updated (84d0d8ad3d -> 1e2f0cca1a), guix-commits, 2022/01/17
- 01/18: installer: Use define instead of let at top-level., guix-commits, 2022/01/17
- 07/18: installer: Capture external commands output., guix-commits, 2022/01/17
- 05/18: installer: Keep PATH inside the install container., guix-commits, 2022/01/17
- 18/18: installer: Make dump archive creation optional and selective., guix-commits, 2022/01/17
- 06/18: installer: Remove specific logging code.,
guix-commits <=
- 03/18: installer: Use new installer-log-line everywhere., guix-commits, 2022/01/17
- 04/18: installer: Un-export syslog syntax., guix-commits, 2022/01/17
- 08/18: installer: Add installer-specific run command process., guix-commits, 2022/01/17
- 09/18: installer: Use run-command-in-installer in (gnu installer parted)., guix-commits, 2022/01/17
- 10/18: installer: Raise condition when mklabel fails., guix-commits, 2022/01/17
- 14/18: installer: Use named prompt to abort or break installer steps., guix-commits, 2022/01/17
- 15/18: installer: Add error page when running external commands., guix-commits, 2022/01/17
- 17/18: installer: Turn passwords into opaque records., guix-commits, 2022/01/17
- 02/18: installer: Generalize logging facility., guix-commits, 2022/01/17
- 11/18: installer: Fix run-file-textbox-page when edit-button is #f., guix-commits, 2022/01/17