[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: hurd: Install the UTF-8 motd.
From: |
guix-commits |
Subject: |
02/07: gnu: hurd: Install the UTF-8 motd. |
Date: |
Mon, 6 Apr 2020 13:33:24 -0400 (EDT) |
civodul pushed a commit to branch wip-hurd-vm
in repository guix.
commit e9ecc68b646eb997af7484e7cf55d9d49483acd6
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 7c68d81..83a05dc 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -398,6 +398,16 @@ boot, since this cannot be done from GNU/Linux."
(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"))
- branch wip-hurd-vm updated (3a6eb2c -> eef7e0f), guix-commits, 2020/04/06
- 01/07: squash! DRAFT: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/06
- 02/07: gnu: hurd: Install the UTF-8 motd.,
guix-commits <=
- 03/07: system: hurd: Create /etc/{hostname,motd,login} and /root., guix-commits, 2020/04/06
- 04/07: database: 'reset-timestamps' can optionally preserve permissions., guix-commits, 2020/04/06
- 05/07: vm: Preserve file permissions on /dev., guix-commits, 2020/04/06
- 06/07: squash! gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/06
- 07/07: linux-boot: 'make-essential-device-nodes' root parameter is optional., guix-commits, 2020/04/06