Revert "gnu: openssh: Remove empty /var/empty."

Oh, hello, you must be new here:

  $ git show ba912479e8

That silly person really ought to have added a comment to the code,
shouldn't they?  This reverts similar changes made in commit
ec7bcdc35a, and adds one.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-04 14:18:45 +02:00
parent 35284f3697
commit a03562b478
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -259,10 +259,9 @@ (define-public openssh
(lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
;; Install without host keys and system configuration files.
;; This will install /var/empty to the store, which is needed
;; by the system openssh-service-type.
(apply invoke "make" "install-nosysconf" make-flags)
(with-directory-excursion out
(rmdir "var/empty")
(rmdir "var"))
(with-directory-excursion "contrib"
(chmod "ssh-copy-id" #o555)
(install-file "ssh-copy-id"