[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: activation: Allow home directories to be created under /var/lib.
From: |
David Craven |
Subject: |
02/11: activation: Allow home directories to be created under /var/lib. |
Date: |
Tue, 6 Sep 2016 15:53:17 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 6526d43ea4fb0cd151a0d5e9a072c651c1c963d1
Author: David Craven <address@hidden>
Date: Fri Aug 26 21:45:57 2016 +0200
activation: Allow home directories to be created under /var/lib.
* gnu/build/activation.scm (activate-user+groups): 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..7dc40b0 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 home directories to be created under /var/lib.
+ (mkdir "/var/lib")
+
;; Create the root account so we can use 'useradd' and 'groupadd'.
(activate-user (find (match-lambda
((name (? zero?) _ ...) #t)
- branch master updated (5e814f6 -> 24e051c), David Craven, 2016/09/06
- 03/11: services: Export initrc., David Craven, 2016/09/06
- 05/11: gnu: Add prefix to license imports in (gnu packages display-managers)., David Craven, 2016/09/06
- 09/11: gnu: Add cairo-xcb., David Craven, 2016/09/06
- 07/11: gnu: Add sddm., David Craven, 2016/09/06
- 02/11: activation: Allow home directories to be created under /var/lib.,
David Craven <=
- 01/11: system: vm: Remove -net user flag., David Craven, 2016/09/06
- 04/11: services: syslog: Use syslog-configuration., David Craven, 2016/09/06
- 06/11: gnu: Add greenisland., David Craven, 2016/09/06
- 10/11: gnu: Add xorg-server-xwayland., David Craven, 2016/09/06
- 11/11: gnu: Add weston., David Craven, 2016/09/06
- 08/11: services: Add sddm service., David Craven, 2016/09/06