Running getty(8) on /dev/console when using a glass console interferes with
authorkettenis <kettenis@openbsd.org>
Mon, 28 Mar 2022 18:53:40 +0000 (18:53 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 28 Mar 2022 18:53:40 +0000 (18:53 +0000)
commit7f281908524cd9f73f405099947ab38ca6ec8365
treee8afd763aaf90f7602f80d7d0210bcd576b06bfe
parenta134c703e536b786e27dd7a07825eea121502871
Running getty(8) on /dev/console when using a glass console interferes with
running Xorg in a way that isn't fully understood.  So change the arm64
install.md to munge /etc/ttys to enable the ttyC0 entry if we detect that
wsdisplay0 is the console and make sure the code in install.sub that
does the actual munging disables the console entry before enabling another
entry to prevent running two getty(8) processes on (effectively) the same
device.

ok deraadt@
distrib/arm64/ramdisk/install.md
distrib/miniroot/install.sub