gnu: shadow: Set log in /var/log.

Fixes lastlog and faillog commands which otherwise look for lastlog and
faillog files in /etc.

* gnu/packages/admin.scm (shadow)[arguments]: Add configure flag
'shadow_cv_logdir'.
This commit is contained in:
Brice Waegeneire 2020-11-07 10:18:23 +01:00
parent 98a41305cc
commit b4c8855eaa
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -702,6 +702,7 @@ (define-public shadow
'(,@(if (hurd-target?)
'()
'("--with-libpam"))
"shadow_cv_logdir=/var/log"
"ac_cv_func_setpgrp_void=yes")
#:phases