guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 08/16: system: hurd: Add ttys symlink in "/etc/ttys".
Date: Sat, 11 Apr 2020 15:09:12 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit cd4faab5636cfc30765f9642189787f49daba519
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 03c49d4..4830c91 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]