aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-03 23:16:41 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-07 20:05:09 +0100
commit0ae735bcc8ff7fdc89d67b492bdee9091ee19e86 (patch)
tree23c345bf4f49ea368b3c6b304ef2f058ee95de6c /gnu/system
parentec600e4544729f1aaf46fa5162bba334515d0de5 (diff)
downloadpatches-0ae735bcc8ff7fdc89d67b492bdee9091ee19e86.tar
patches-0ae735bcc8ff7fdc89d67b492bdee9091ee19e86.tar.gz
activation: Build account databases with (gnu build accounts).
* gnu/build/activation.scm (enumerate, current-users, current-groups) (add-group, add-user, modify-user, ensure-user): Remove. (activate-users+groups)[touch, activate-user]: Remove. [make-home-directory]: New procedure. Rewrite in terms of 'user+group-databases', 'write-group', etc. * gnu/build/install.scm (directives): Remove "/root". * gnu/system/shadow.scm (account-activation): Remove (setenv "PATH" ...) expression, which is now unneeded.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/shadow.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 4e5b6ae5f2..7dc36f4a45 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -302,8 +302,6 @@ group."
#~(begin
(use-modules (gnu system accounts))
- (setenv "PATH"
- (string-append #$(@ (gnu packages admin) shadow) "/sbin"))
(activate-users+groups (map sexp->user-account (list #$@user-specs))
(map sexp->user-group (list #$@group-specs))))))