]> code.ossystems Code Review - openembedded-core.git/commit
start_getty: Over added SERIAL_CONSOLE cause error in userspace log
authorChoong YinThong <yin.thong.choong@intel.com>
Fri, 14 Apr 2017 00:26:39 +0000 (17:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Jun 2017 22:43:28 +0000 (23:43 +0100)
commitac0e9541fe93e866e42914f65a0516b993f0cffe
tree5d6daac95f2f0b272742da187438c9bb8681baa1
parent031cf9c7834cd1cba8b03832673a3e3cfcbfae7c
start_getty: Over added SERIAL_CONSOLE cause error in userspace log

Error log will be logged into /var/log/message.
Added in more condition checking on the script. Check
/proc/tty/drivers and /proc/tty/driver/*
file system to retrieve active targeted serial.
Only establish getty with active serial in runtime.

[YOCTO #10844]

Reviewed-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/sysvinit/sysvinit-inittab/start_getty