]> code.ossystems Code Review - openembedded-core.git/commit
sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>
Mon, 7 Oct 2013 15:05:04 +0000 (15:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:54:27 +0000 (16:54 +0100)
commitb00b9ae5693e04cacd0843c12a529e7f3dc501ed
treee3273b982e4a71f958a8ad16c285fb1215fa575a
parent63edb6b9a8bdf2f5541edd618f2f598185e37223
sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries

Currently the part after "tty" in the device name go into label along with
everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0"
than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100.
If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb