diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-06 14:58:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-11 19:22:26 +0200 |
commit | 62a3bbfdfef42b8aa0b8a04bbf62c9f845903da9 (patch) | |
tree | 1e8dd9f3f45c8d96cce33d2fd35f0b3ad76adb12 /gnu | |
parent | 29505c7d1eb08afc14a881d84705cde54b12192f (diff) |
gnu: hurd: Install the UTF-8 motd.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/hurd.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 45e1b21a77..e5ad8e4f73 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")) |