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.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-04-05 13:51:56 +02:00 committed by Ludovic Courtès
parent 379d0f5184
commit cd4faab563
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -103,7 +103,12 @@ (define hurd-directives
"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")