[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: hurd: Record the right file name of 'login'.
From: |
guix-commits |
Subject: |
10/10: gnu: hurd: Record the right file name of 'login'. |
Date: |
Fri, 3 Apr 2020 17:15:25 -0400 (EDT) |
civodul pushed a commit to branch wip-hurd-vm
in repository guix.
commit ac209c70ff575c63130d6773a1b804112d6db454
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 58d1293..8f08717 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -345,6 +345,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 ac209c7), guix-commits, 2020/04/03
- 03/10: vm: 'qemu-image' accepts a list of extra populate directives., guix-commits, 2020/04/03
- 05/10: gnu: gnumach: Enable kernel debugger (kbd)., guix-commits, 2020/04/03
- 02/10: install: 'populate-root-file-system' can be passed extra directives., guix-commits, 2020/04/03
- 04/10: vm: 'qemu-image' can pass options to the 'mkfs' command., guix-commits, 2020/04/03
- 01/10: gnu: gnumach: Fix compilation., guix-commits, 2020/04/03
- 10/10: gnu: hurd: Record the right file name of 'login'.,
guix-commits <=
- 06/10: DRAFT: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/03
- 07/10: gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd., guix-commits, 2020/04/03
- 08/10: gnu: hurd: Use a 32-bit MiG when cross-compiling., guix-commits, 2020/04/03
- 09/10: DRAFT: Add (gnu system hurd)., guix-commits, 2020/04/03