gnu: util-linux: Don't build 'nologin'.

* gnu/packages/linux.scm (util-linux)[source](snippet): Add substitution.
This commit is contained in:
Marius Bakke 2018-03-01 22:33:20 +01:00
parent 759ad0690b
commit 0223db58ef
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 2 deletions

View File

@ -560,10 +560,11 @@ providing the system administrator with some help in common tasks.")
"util-linux-CVE-2018-7738.patch"))
(modules '((guix build utils)))
(snippet
;; We take the 'logger' program from GNU Inetutils and 'kill'
;; from GNU Coreutils.
;; We take 'nologin' from Shadow, the 'logger' program from
;; GNU Inetutils and 'kill' from GNU Coreutils.
'(begin
(substitute* "configure"
(("build_nologin=yes") "build_nologin=no")
(("build_logger=yes") "build_logger=no")
(("build_kill=yes") "build_kill=no"))
#t))))