(address . guix-patches@gnu.org)
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(-)
Toggle diff (15 lines)
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
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1JutwACgkQ9Qb9Fp2P
2VpTVw/+NEcNXoMUqp4lsomyok52AZGMBAo55jVZn0ArozMJ/C2HjUGG96ZReIdq
GkaKi5weAvtqx3MlcAC7GJGmMmX7f6/FeOLvSvilYbsTq/1aMwltXrSX8fo6ftNH
cZoj1sE3/xKJd6jy1SD2nisqnsQfylF+qAXQipaxIXzL0HfAyf0lw/Rtoon0ysrn
Vqda417zyoYT7Kf8MLEsg9LIa2irlR84HRU7cLdJFoHQVq3fO72h7+XYu+FxSBqH
zmTKq0t0XHM/jS73WtxQ20KCHVoaD/ipa/SiOZuSyX1cADyefuYKI3OGEb35gBEv
yLY8imJ5D7pZhon3Safz2iZftm2jxWlBQ7JKYHdUdle7NjGpCr+Dny/ZnUgTWbX/
eVcCbo8zcNMYfu98iW3FeiFm3RjKjFbMuUP1SRv/iQXl1TaqDqgUTNVUnAAv1Zo+
Du3Z3HKu78AYKfr1ZoZmJR5aE/84OETkgb1QFqnzd/ijyys9AHcpMrSTim8aBjAR
2m0NYSmMJRxlGoSH8/bphC3Q3j81DlQpJqNzFp21mRGfw4YQiAWEmnr0EsDjmJ8x
J1Zrs2gO0fAwXwrep+ibCbc+NuQ4Y2EUhTyZSszBBGhFOvcEZ4FtDn89Cr2or77d
3efqzJKRGm/IUxOlP/2zSAG8w86R0fJJvUlWe2Sg5CFGs/eQD6U=
=8bNK
-----END PGP SIGNATURE-----