[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: activation: Make sure /etc exists.

From: Ludovic Courtès
Subject: 02/02: activation: Make sure /etc exists.
Date: Wed, 2 Aug 2017 18:36:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 49962b15a1c4e72a55b6cf273806d203906de2ed
Author: Ludovic Courtès <address@hidden>
Date:   Thu Aug 3 00:20:05 2017 +0200

    activation: Make sure /etc exists.
    Fixes <>.
    Reported by ng0 <address@hidden>.
    * gnu/build/activation.scm (activate-etc): Add call to 'mkdir-p'.
 gnu/build/activation.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 299c072..9c58370 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]