[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/18: gnu: hurd: Record the right file name of 'login'.
From: |
guix-commits |
Subject: |
08/18: gnu: hurd: Record the right file name of 'login'. |
Date: |
Sat, 11 Apr 2020 13:26:07 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit b7e23a92a57f50686a5334c4737ffe46b06bbf77
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Apr 3 23:12:10 2020 +0200
gnu: hurd: Record the right file name of 'login'.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'set-file-names' phase.
---
gnu/packages/hurd.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 6478eb4..9f398e0 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -347,6 +347,13 @@ boot, since this cannot be done from GNU/Linux."
(substitute* '("daemons/Makefile" "utils/Makefile")
(("-o root -m 4755") ""))
#t))
+ (add-before 'build 'set-file-names
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* '("daemons/runttys.c" "daemons/getty.c")
+ (("/bin/login")
+ (string-append out "/bin/login")))
+ #t)))
(add-after 'install 'install-rc-file
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch core-updates updated (8c83069 -> 916ec91), guix-commits, 2020/04/11
- 01/18: install: 'populate-root-file-system' can be passed extra directives., guix-commits, 2020/04/11
- 02/18: vm: 'qemu-image' accepts a list of extra populate directives., guix-commits, 2020/04/11
- 04/18: gnu: gnumach: Enable kernel debugger (kbd)., guix-commits, 2020/04/11
- 03/18: vm: 'qemu-image' can pass options to the 'mkfs' command., guix-commits, 2020/04/11
- 08/18: gnu: hurd: Record the right file name of 'login'.,
guix-commits <=
- 05/18: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/11
- 06/18: gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd., guix-commits, 2020/04/11
- 13/18: gnu: libdaemon: Allow cross-compilation., guix-commits, 2020/04/11
- 14/18: gnu: libdaemon: Cross-build with --localstatedir=/var., guix-commits, 2020/04/11
- 07/18: gnu: hurd: Use a 32-bit MiG when cross-compiling., guix-commits, 2020/04/11
- 09/18: gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/11
- 10/18: gnu: hurd: Install the UTF-8 motd., guix-commits, 2020/04/11
- 15/18: gnu: hurd: Add dependency on libdaemon., guix-commits, 2020/04/11
- 12/18: gnu: hurd: Add dependency on libgcrypt., guix-commits, 2020/04/11
- 16/18: gnu: hurd: Install a BDF font., guix-commits, 2020/04/11