diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-25 10:58:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-25 11:29:35 +0100 |
commit | 412e4f081e9cdf38db9859e1548ef2362cde678e (patch) | |
tree | 5ee802f8aeaf611020697b67ee3229a19022a684 /gnu/packages.scm | |
parent | 120051e1b9358f75b228e97670843095d5fcdf49 (diff) | |
download | guix-patches-412e4f081e9cdf38db9859e1548ef2362cde678e.tar guix-patches-412e4f081e9cdf38db9859e1548ef2362cde678e.tar.gz |
services: shepherd: Make /run/booted-system a symlink to the store item.
Fixes <https://bugs.gnu.org/46767>.
Previously /run/booted-system would end up referring to
/var/guix/profiles/system-NNN-link; consequently, the booted system
would not be GC-protected.
* gnu/services/shepherd.scm (shepherd-boot-gexp): Call
'canonicalize-path' instead of 'readlink'.
Diffstat (limited to 'gnu/packages.scm')
0 files changed, 0 insertions, 0 deletions