[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#36947] [PATCH] reconfigure: Fix GC root installation.

From: Jakob L. Kreuze
Subject: [bug#36947] [PATCH] reconfigure: Fix GC root installation.
Date: Tue, 06 Aug 2019 13:37:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Fixes <>.
Reported by ison <address@hidden>.

guix/scripts/system/reconfigure.scm (install-bootloader-program): Switch
new symlink to the canonical bootloader configuration file.
 guix/scripts/system/reconfigure.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/system/reconfigure.scm 
index dee0c24bd2..72d97b6c48 100644
--- a/guix/scripts/system/reconfigure.scm
+++ b/guix/scripts/system/reconfigure.scm
@@ -196,7 +196,7 @@ BOOTLOADER-PACKAGE."
                         (srfi srfi-35))
            (let* ((gc-root (string-append #$target %gc-roots-directory 
                   (temp-gc-root (string-append gc-root ".new")))
-             (switch-symlinks temp-gc-root gc-root)
+             (switch-symlinks temp-gc-root #$bootcfg)
              (install-boot-config #$bootcfg #$bootcfg-file #$target)
              ;; Preserve the previous activation's garbage collector root
              ;; until the bootloader installer has run, so that a failure in

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]