~ruther/guix-local

5681ce50745203c4ee3a469f1b9bb0a24c4090fb — Jan (janneke) Nieuwenhuizen 6 years ago 9392652
services: etc: Add '/etc/ttys' symlink for the Hurd.

Reported by Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com> via IRC.

* gnu/system.scm (operating-system-etc-service): For the Hurd, add '/etc/ttys'
symlink.  This fixes terminal behavior in the console by setting TERM=hurd.
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/system.scm
M gnu/system.scm => gnu/system.scm +2 -1
@@ 847,7 847,8 @@ fi\n")))
       ,@(if sudoers `(("sudoers" ,sudoers)) '())
       ,@(if hurd
             `(("login" ,(file-append hurd "/etc/login"))
               ("motd"  ,(file-append hurd "/etc/motd")))
               ("motd"  ,(file-append hurd "/etc/motd"))
               ("ttys"  ,(file-append hurd "/etc/ttys")))
             '())))))

(define %root-account