mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-29 13:31:16 +02:00
activation: Allow home directories to be created under /var/lib.
* gnu/build/activation.scm (activate-user+groups): Make sure /var/lib exists.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user