guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/52: gnu: hurd: Install the UTF-8 motd.


From: guix-commits
Subject: 21/52: gnu: hurd: Install the UTF-8 motd.
Date: Thu, 9 Apr 2020 13:29:06 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 4dcda8ca7e282db1c6d25a0b34871bb7182e3b2f
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Apr 6 14:58:19 2020 +0200

    gnu: hurd: Install the UTF-8 motd.
    
    * gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
---
 gnu/packages/hurd.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 45e1b21..e5ad8e4 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -409,6 +409,16 @@ fsysopts / --writable\n"))
                            (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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]