[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: HACK: gnu hurd: Recreate some device nodes.
From: |
guix-commits |
Subject: |
03/09: HACK: gnu hurd: Recreate some device nodes. |
Date: |
Sun, 5 Apr 2020 11:30:16 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 61a661598143ec0afa506abf53bfac3f1f0e9c90
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 5 14:31:50 2020 +0200
HACK: gnu hurd: Recreate some device nodes.
* gnu/packages/hurd.scm (hurd): Run MAKEDEV in runsystem, runsystem.hurd to
create console, null.
---
gnu/packages/hurd.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 80c7b8c..05c05cd 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -373,10 +373,16 @@ boot, since this cannot be done from GNU/Linux."
(("^SHELL=.*")
(string-append "SHELL=" bash "/bin/bash\n"))
(("/sbin/") (string-append out "/sbin/"))
- (("/libexec/") (string-append out "/libexec/"))
- ;; Let's try if writable / helps...
- (("export PATH") (string-append "export PATH\n"
- "mount -o remount,rw /")))
+ (("/libexec/") (string-append out "/libexec/")))
+
+ (substitute* '("daemons/runsystem.sh"
+ "daemons/runsystem.hurd.sh")
+ (("export PATH")
+ (string-append "export PATH\n"
+ ;; Let's try if writable / helps...
+ "mount -o remount,rw /\n"
+ ;; Let's try if re-creating some nodes
helps...
+ "MAKEDEV --devdir=/dev console null\n")))
#t)))
(add-after 'patch-shebangs 'patch-libexec-shebangs
(lambda* (#:key inputs outputs #:allow-other-keys)
- branch wip-hurd-vm updated (265eed6 -> d22f72e), guix-commits, 2020/04/05
- 02/09: squash! gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/05
- 01/09: gnu: hurd: Add ttys symlink in /etc/ttys., guix-commits, 2020/04/05
- 03/09: HACK: gnu hurd: Recreate some device nodes.,
guix-commits <=
- 04/09: gnu: hurd: Add /etc/passwd., guix-commits, 2020/04/05
- 05/09: squash! gnu: hurd: Ensure startup scripts refer to the right programs., guix-commits, 2020/04/05
- 09/09: gnu: hurd: Add /bin/sh symlink., guix-commits, 2020/04/05
- 06/09: HACK gnu: system: Add /libexec/ symlink; do not substitute config/ttys., guix-commits, 2020/04/05
- 08/09: Revert "HACK gnu: system: Add /libexec/ symlink; do not substitute config/ttys.", guix-commits, 2020/04/05
- 07/09: gnu: cross-libc: Add patch to allow 'gettyent' reading store file names., guix-commits, 2020/04/05