summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-12-05 00:19:39 +0100
committerLudovic Courtès <ludo@gnu.org>2014-12-06 16:03:49 +0100
commit6496de9bc2deb30306922ace8498afa237dee1b1 (patch)
tree317c6b34e90177b8479a38943cc40fdf6b297dd4 /gnu/build
parent4c8d523f9358665ff06b5af2b36c609eab2d1a78 (diff)
downloadguix-6496de9bc2deb30306922ace8498afa237dee1b1.tar.gz
activation: Don't create unneeded "/var/guix/gcroots/etc-directory".
* gnu/build/activation.scm (activate-etc): Don't create
  "/var/guix/gcroots/etc-directory".
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/activation.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 3eebb71dfc..c27cda3666 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -205,11 +205,7 @@ numeric gid or #f."
                      ;; The default is 'string-locale<?', but we don't have
                      ;; it when run from the initrd's statically-linked
                      ;; Guile.
-                     string<?))
-
-  ;; Prevent ETC from being GC'd.
-  (rm-f "/var/guix/gcroots/etc-directory")
-  (symlink etc "/var/guix/gcroots/etc-directory"))
+                     string<?)))
 
 (define %setuid-directory
   ;; Place where setuid programs are stored.