gnu: Add /etc/shells.

* gnu/system.scm (etc-directory): Add /etc/shells.
This commit is contained in:
Ludovic Courtès 2014-02-19 21:30:16 +01:00
parent 0b14d1d7e3
commit 9038298cbf

View file

@ -227,6 +227,11 @@ (define* (etc-directory #:key
(group (group-file groups)) (group (group-file groups))
(pam.d (pam-services->directory pam-services)) (pam.d (pam-services->directory pam-services))
(login.defs (text-file "login.defs" "# Empty for now.\n")) (login.defs (text-file "login.defs" "# Empty for now.\n"))
(shells (text-file "shells" ; used by xterm and others
"\
/bin/sh
/run/current-system/bin/sh
/run/current-system/bin/bash\n"))
(issue (text-file "issue" " (issue (text-file "issue" "
This is an alpha preview of the GNU system. Welcome. This is an alpha preview of the GNU system. Welcome.
@ -260,6 +265,7 @@ (define* (etc-directory #:key
("pam.d" ,(derivation->output-path pam.d)) ("pam.d" ,(derivation->output-path pam.d))
("login.defs" ,login.defs) ("login.defs" ,login.defs)
("issue" ,issue) ("issue" ,issue)
("shells" ,shells)
("profile" ,(derivation->output-path bashrc)) ("profile" ,(derivation->output-path bashrc))
("localtime" ,tz-file) ("localtime" ,tz-file)
("passwd" ,passwd) ("passwd" ,passwd)