gnu: hurd: Install the UTF-8 motd.

* gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
This commit is contained in:
Ludovic Courtès 2020-04-06 14:58:19 +02:00
parent 29505c7d1e
commit 62a3bbfdfe
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -409,6 +409,16 @@ (define-public hurd
(patch-shebang file path))
(find-files (string-append out "/libexec")))
#t)))
(add-after 'install 'install-goodies
(lambda* (#:key outputs #:allow-other-keys)
;; Install additional goodies.
;; TODO: Build & install *.msgids for rpctrace.
(let ((out (assoc-ref outputs "out")))
;; Install the fancy UTF-8 motd.
(mkdir-p (string-append out "/etc"))
(copy-file "console/motd.UTF8"
(string-append out "/etc/motd"))
#t)))
(add-after 'install 'install-rc-file
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))