all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#36947] [PATCH] reconfigure: Fix GC root installation.
@ 2019-08-06 17:37 Jakob L. Kreuze
  2019-08-06 20:27 ` bug#36947: " Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Jakob L. Kreuze @ 2019-08-06 17:37 UTC (permalink / raw)
  To: 36947

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

Fixes <https://bugs.gnu.org/36942>.
Reported by ison <ison@airmail.cc>.

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 b/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 "/bootcfg"))
                   (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
-- 
2.22.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-06 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-06 17:37 [bug#36947] [PATCH] reconfigure: Fix GC root installation Jakob L. Kreuze
2019-08-06 20:27 ` bug#36947: " Danny Milosavljevic
2019-08-06 20:47   ` [bug#36947] " Jakob L. Kreuze

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.