guix-commits
[Top][All Lists]
Advanced

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

10/18: gnu: hurd: Install the UTF-8 motd.


From: guix-commits
Subject: 10/18: gnu: hurd: Install the UTF-8 motd.
Date: Sat, 11 Apr 2020 13:26:08 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit 62a3bbfdfef42b8aa0b8a04bbf62c9f845903da9
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]