]> code.ossystems Code Review - openembedded-core.git/commit
sysvinit-inittab: restrict labels to 4 chars
authorStephano Cetola <stephano.cetola@linux.intel.com>
Fri, 29 Apr 2016 03:01:56 +0000 (20:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 May 2016 09:30:55 +0000 (10:30 +0100)
commit30acc7a6b9e6d1c42ba1df6e5a362d10b43cb4eb
tree56225effdb3daaac86d101165caf90299d977954
parenteef010bd91933d0c4b917d12e5716aa7e16b7307
sysvinit-inittab: restrict labels to 4 chars

The current recipe creates inittab labels based off the device node name
of TTYs used as consoles. If those names exceed the 4 character label
limit of inittab, it will break. This change takes the last 4 chars of
the device names in order to avoid any errors.

[ YOCTO #9529 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb