aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-07 16:18:51 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-07 16:18:51 +0100
commitf7d6fafaa27b11e9dcaf15f7611c62447d8532fa (patch)
tree4eeea79071d982700e4b82afd29b01aa00997520 /gnu/system/vm.scm
parentf0387dd1676bdcb08e005cede98de7dedbd82bad (diff)
downloadguix-f7d6fafaa27b11e9dcaf15f7611c62447d8532fa.tar
guix-f7d6fafaa27b11e9dcaf15f7611c62447d8532fa.tar.gz
gnu: dmd: Add 'pam-services' field to <service>.
* gnu/system/dmd.scm (<service>)[pam-services]: New field. (mingetty-service): Add #:motd and #:allow-empty-passwords? parameters. Add MOTD to 'inputs' field; add 'pam-services' field. * gnu/system/vm.scm (system-qemu-image): Aggregate PAM entries from SERVICES.
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r--gnu/system/vm.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index e89815225e..ffbc07ee85 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -571,10 +571,9 @@ Happy birthday, GNU! http://www.gnu.org/gnu30
"))
(pam-services ->
;; Services known to PAM.
- (list %pam-other-services
- (unix-pam-service "login"
- #:allow-empty-passwords? #t
- #:motd motd)))
+ (delete-duplicates
+ (cons %pam-other-services
+ (append-map service-pam-services services))))
(bash-file (package-file bash "bin/bash"))
(dmd-file (package-file dmd "bin/dmd"))