From 64a074708ab7535d75ef29a327e99d0472ad3e18 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Aug 2021 18:54:07 +0100 Subject: [PATCH] uml: Use console not serial for comms This seems less odd somehow. Doesn't seem to make any practical difference. Signed-off-by: Ian Jackson --- psusan-uml | 2 +- psusan-uml-inside | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/psusan-uml b/psusan-uml index acc4def..3a22f77 100755 --- a/psusan-uml +++ b/psusan-uml @@ -2,4 +2,4 @@ bwrap --dev-bind / / --tmpfs /dev/shm \ linux mem=512M rootfstype=hostfs rootflags=/ rw \ - con=fd:2,fd:2 ssl0=fd:0,fd:1 init=$PWD/psusan-uml-inside + con=fd:2,fd:2 con1=fd:0,fd:1 init=$PWD/psusan-uml-inside diff --git a/psusan-uml-inside b/psusan-uml-inside index ee6ec47..a31c95b 100755 --- a/psusan-uml-inside +++ b/psusan-uml-inside @@ -3,7 +3,7 @@ mount -t proc none /proc mount -t devpts none /dev/pts # Redirect I/O to the serial port, but stderr to the console -exec 0<>/dev/ttyS0 1>&0 2>/dev/console +exec 0<>/dev/tty1 1>&0 2>/dev/console # Set the serial port into raw mode, to run a binary protocol stty raw -echo # Choose what shell you want to run inside psusan -- 2.30.2