guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: etc: Add '/etc/ttys' symlink for the Hu


From: guix-commits
Subject: branch master updated: services: etc: Add '/etc/ttys' symlink for the Hurd.
Date: Tue, 09 Jun 2020 12:14:32 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5681ce5  services: etc: Add '/etc/ttys' symlink for the Hurd.
5681ce5 is described below

commit 5681ce50745203c4ee3a469f1b9bb0a24c4090fb
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 9 17:44:52 2020 +0200

    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.
---
 gnu/system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 081e0f2..d51691f 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -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



reply via email to

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