]> code.ossystems Code Review - openembedded-core.git/commit
sysvinit-inittab: ensure unique label for SERIAL_CONSOLES entries
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 24 Apr 2013 14:33:18 +0000 (15:33 +0100)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 10 Oct 2013 11:21:00 +0000 (12:21 +0100)
commitd3393e28c5d6aa8a8bab754574ec68e540269a1c
tree5dd7c2a83fa227dbed054d2464f9d1024415100d
parent88c0274787744bd6e1c6303add35fd8b094dce89
sysvinit-inittab: ensure unique label for SERIAL_CONSOLES entries

The label field in /etc/inittab entries needs to be unique, and the
numeric label being used for the SERIAL_CONSOLES getty entries was
clashing with the entries added for standard ttyX entries added via
SYSVINIT_ENABLED_GETTYS. Use the part after "tty" in the device name
(which is what the comment further down explicitly says should be done)
as the label rather than a simple incrementing number.

Fixes [YOCTO #4374].

(From OE-Core rev: 28d3202befcec72554885f8ea9cb7985523b89f5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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