diff options
author | David Craven <david@craven.ch> | 2016-08-26 21:45:57 +0200 |
---|---|---|
committer | David Craven <david@craven.ch> | 2016-09-06 17:48:59 +0200 |
commit | 6526d43ea4fb0cd151a0d5e9a072c651c1c963d1 (patch) | |
tree | 8615943a98fd6c59b8ce1fb9a5f325a0cd47d69f /gnu | |
parent | f2e7be4e29fb847207ebdc86023b9283700de42f (diff) | |
download | patches-6526d43ea4fb0cd151a0d5e9a072c651c1c963d1.tar patches-6526d43ea4fb0cd151a0d5e9a072c651c1c963d1.tar.gz |
activation: Allow home directories to be created under /var/lib.
* gnu/build/activation.scm (activate-user+groups): Make sure /var/lib
exists.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/build/activation.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 10aa58d85c..7dc40b0961 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) |