poky-stx.conf: re-define the SERIAL_CONSOLES 60/3560/1
authorJackie Huang <jackie.huang@windriver.com>
Fri, 1 May 2020 13:08:03 +0000 (21:08 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Sun, 3 May 2020 02:59:52 +0000 (10:59 +0800)
Re-define the SERIAL_CONSOLES to avoid annoying messages:
agetty[133305]: /dev/ttyS2: not a tty
agetty[133305]: /dev/ttyS1: not a tty

Issue-ID: INF-74
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9b8918b771a0e14b2e64c6b4988e97c85b7f0330

meta-stx/conf/distro/poky-stx.conf

index 0331580..c338078 100644 (file)
@@ -38,6 +38,9 @@ SYSTEMD_AUTO_ENABLE_pn-postgresql = "disable"
 # networking sysv service is required
 SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking"
 
+# Defines the serial consoles (TTYs) to enable using getty
+SERIAL_CONSOLES = "115200;ttyS0"
+
 # /var/log is mounted as a logical volume for stx,
 # so do not link to /var/volatile/log.
 VOLATILE_LOG_DIR = "no"