activation: Don't fail if /var/lib exists.
This is a followup to commit 6526d43ea4
.
* gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create
/var/lib.
master
parent
7247ecda0e
commit
a7199b7d99
|
@ -234,7 +234,7 @@ numeric gid or #f."
|
||||||
(touch "/etc/group")
|
(touch "/etc/group")
|
||||||
|
|
||||||
;; Allow home directories to be created under /var/lib.
|
;; Allow home directories to be created under /var/lib.
|
||||||
(mkdir "/var/lib")
|
(mkdir-p "/var/lib")
|
||||||
|
|
||||||
;; Create the root account so we can use 'useradd' and 'groupadd'.
|
;; Create the root account so we can use 'useradd' and 'groupadd'.
|
||||||
(activate-user (find (match-lambda
|
(activate-user (find (match-lambda
|
||||||
|
|
Reference in New Issue