guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/52: system: hurd: Add ttys symlink in "/etc/ttys".


From: guix-commits
Subject: 16/52: system: hurd: Add ttys symlink in "/etc/ttys".
Date: Thu, 9 Apr 2020 13:29:05 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit e52bad62c8a166b8276c7863d5c89df4272e8c1c
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 5 13:51:56 2020 +0200

    system: hurd: Add ttys symlink in "/etc/ttys".
    
    * gnu/packages/hurd.scm (hurd): Substitute /libexec/.
    * gnu/system/hurd.scm (cross-hurd-image): Add symlink /etc/ttys =>
    <hurd>/etc/ttys.
---
 gnu/system/hurd.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 9c834ec..ae34b12 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -103,7 +103,12 @@ menuentry \"GNU\" {
                                                    "i586-pc-gnu"))
                                   hurd)
                                 "/hurd"))
-      ("/etc/fstab" -> ,fstab)))
+      ("/etc/fstab" -> ,fstab)
+      ;; XXX can we instead, harmlessly set _PATH_TTYS (from glibc) in 
runttys.c?
+      ("/etc/ttys" -> ,(file-append (with-parameters ((%current-target-system
+                                                   "i586-pc-gnu"))
+                                  hurd)
+                                "/etc/ttys"))))
 
   (qemu-image #:file-system-type "ext2"
               #:file-system-options '("-o" "hurd")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]