[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/52: gnu: hurd: Record the right file name of 'login'.
From: |
guix-commits |
Subject: |
09/52: gnu: hurd: Record the right file name of 'login'. |
Date: |
Thu, 9 Apr 2020 13:29:03 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit dbc0b84e1e7fa01fbed0845aacb6e078d2973b84
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 wip-hurd-vm created (now 8229a0e), guix-commits, 2020/04/09
- 02/52: vm: 'qemu-image' accepts a list of extra populate directives., guix-commits, 2020/04/09
- 04/52: gnu: gnumach: Enable kernel debugger (kbd)., guix-commits, 2020/04/09
- 01/52: install: 'populate-root-file-system' can be passed extra directives., guix-commits, 2020/04/09
- 05/52: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/09
- 07/52: gnu: hurd: Use a 32-bit MiG when cross-compiling., guix-commits, 2020/04/09
- 09/52: gnu: hurd: Record the right file name of 'login'.,
guix-commits <=
- 12/52: gnu: hurd: Add coreutils to startup scripts., guix-commits, 2020/04/09
- 06/52: gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd., guix-commits, 2020/04/09
- 14/52: system: hurd: Add "/etc/fstab"., guix-commits, 2020/04/09
- 08/52: DRAFT: Add (gnu system hurd)., guix-commits, 2020/04/09
- 03/52: vm: 'qemu-image' can pass options to the 'mkfs' command., guix-commits, 2020/04/09
- 13/52: gnu: hurd: Add util-linux to startup scripts., guix-commits, 2020/04/09
- 10/52: gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/09
- 11/52: gnu: guile@3: Disable JIT on GNU/Hurd., guix-commits, 2020/04/09
- 17/52: system: hurd: Add "/etc/passwd"., guix-commits, 2020/04/09
- 15/52: gnu: hurd: Add "hurd/sbin" to PATH., guix-commits, 2020/04/09