aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-04-05 13:51:56 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-11 21:01:09 +0200
commitcd4faab5636cfc30765f9642189787f49daba519 (patch)
tree5ab59b77efa5d557fcb73e03a94b6691a175e368
parent379d0f51841f808d456b885824b50949d0939bd9 (diff)
downloadguix-cd4faab5636cfc30765f9642189787f49daba519.tar
guix-cd4faab5636cfc30765f9642189787f49daba519.tar.gz
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.
-rw-r--r--gnu/system/hurd.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 03c49d472f..4830c91553 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")