Skip to content
Commit ab7a1f14 authored by Kevin Hao's avatar Kevin Hao Committed by Anuj Mittal
Browse files

sysvinit-inittab/start_getty: Check /sys for the tty device existence



The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.

Signed-off-by: default avatarKevin Hao <kexin.hao@windriver.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 670ceef0)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 1aa5d823
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment