From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Subject: [PATCH 2/9] activation: Allow /var/lib to be a home directory.
Date: Thu, 1 Sep 2016 17:57:04 +0200 [thread overview]
Message-ID: <20160901155711.7388-2-david@craven.ch> (raw)
In-Reply-To: <20160901155711.7388-1-david@craven.ch>
* gnu/build/activation.scm (activate-user): Make sure /var/lib exists.
---
gnu/build/activation.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 10aa58d..3abfdd6 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -233,6 +233,9 @@ numeric gid or #f."
;; 'groupadd' aborts if the file doesn't already exist.
(touch "/etc/group")
+ ;; allow /var/lib/application to be a home directory
+ (mkdir-p "/var/lib")
+
;; Create the root account so we can use 'useradd' and 'groupadd'.
(activate-user (find (match-lambda
((name (? zero?) _ ...) #t)
--
2.9.0
next prev parent reply other threads:[~2016-09-01 15:58 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 15:57 [PATCH 1/9] system: vm: Remove -net user flag David Craven
2016-09-01 15:57 ` David Craven [this message]
2016-09-02 11:54 ` [PATCH 2/9] activation: Allow /var/lib to be a home directory 宋文武
2016-09-02 15:31 ` Vincent Legoll
2016-09-02 17:13 ` ng0
2016-09-02 17:19 ` David Craven
2016-09-03 13:24 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 3/9] services: Export initrc David Craven
2016-09-03 13:34 ` Ludovic Courtès
2016-09-03 13:34 ` David Craven
2016-09-03 17:33 ` David Craven
2016-09-05 8:40 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 4/9] services: syslog: Use syslog-configuration David Craven
2016-09-02 12:31 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 5/9] gnu: Add prefix to license imports in (gnu packages display-managers) David Craven
2016-09-02 12:27 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 6/9] gnu: Add greenisland David Craven
2016-09-02 13:20 ` Ludovic Courtès
2016-09-03 17:03 ` David Craven
2016-09-05 8:43 ` Ludovic Courtès
2016-09-05 11:44 ` David Craven
2016-09-07 6:50 ` Mark H Weaver
2016-09-01 15:57 ` [PATCH 7/9] gnu: Add sddm David Craven
2016-09-02 12:26 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 8/9] services: Add sddm service David Craven
2016-09-02 12:26 ` 宋文武
2016-09-03 13:32 ` Ludovic Courtès
2016-09-03 13:34 ` David Craven
2016-09-03 13:36 ` David Craven
2016-09-05 8:39 ` Ludovic Courtès
2016-09-05 8:38 ` Ludovic Courtès
2016-09-01 15:57 ` [PATCH 9/9] gnu: Add weston David Craven
2016-09-01 16:00 ` David Craven
2016-09-03 13:29 ` Ludovic Courtès
2016-09-04 14:01 ` David Craven
2016-09-05 21:15 ` Ludovic Courtès
2016-09-06 16:03 ` David Craven
2016-09-07 6:45 ` Mark H Weaver
2016-09-07 7:08 ` David Craven
2016-09-02 11:19 ` [PATCH 1/9] system: vm: Remove -net user flag ng0
2016-09-02 12:24 ` David Craven
2016-09-02 12:58 ` ng0
2016-09-02 13:00 ` David Craven
2016-09-03 13:39 ` Ludovic Courtès
2016-09-03 13:44 ` David Craven
2016-09-05 8:41 ` Ludovic Courtès
2016-09-02 15:37 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160901155711.7388-2-david@craven.ch \
--to=david@craven.ch \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.