aboutsummaryrefslogtreecommitdiff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-08-03 00:20:05 +0200
committerLudovic Courtès <ludo@gnu.org>2017-08-03 00:35:59 +0200
commit49962b15a1c4e72a55b6cf273806d203906de2ed (patch)
treeb30f8ef83319d6624ace314706b028be69879a2d /gnu/build
parentec5495ba3f06655252959aebe9d9d273387c6125 (diff)
downloadpatches-49962b15a1c4e72a55b6cf273806d203906de2ed.tar
patches-49962b15a1c4e72a55b6cf273806d203906de2ed.tar.gz
activation: Make sure /etc exists.
Fixes <http://bugs.gnu.org/27146>. Reported by ng0 <ng0@pragmatique.xyz>. * gnu/build/activation.scm (activate-etc): Add call to 'mkdir-p'.
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/activation.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 299c0728cb..9c58370ec3 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -313,6 +313,7 @@ they already exist."
(false-if-exception (delete-file file)))
(format #t "populating /etc from ~a...~%" etc)
+ (mkdir-p "/etc")
;; Create the /etc/ssl -> /run/current-system/profile/etc/ssl symlink. This
;; symlink, to a target outside of the store, probably doesn't belong in the