[PATCH 12/20] host/rootfs: Do not read from /dev/tty1

Demi Marie Obenour
2025-09-04T23:48:13Z

This breaks debugging because data written goes both to Weston (or its
subprocesses) and to getty.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
host/rootfs/etc/s6-rc/weston/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host/rootfs/etc/s6-rc/weston/run b/host/rootfs/etc/s6-rc/weston/run
index 7dca0dab095569c9e7d49df9d245533a7265283e..9c04eba471e6db7093a9004fd3ed7cfb8365eaf7 100644
--- a/host/rootfs/etc/s6-rc/weston/run
+++ b/host/rootfs/etc/s6-rc/weston/run
@@ -16,7 +16,7 @@ backtick HOME {
homeof $user
}

-redirfd -r 0 /dev/tty1
+redirfd -r 0 /dev/null

importas -i home HOME
cd $home

--
2.51.0