diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-11-12 08:33:25 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-20 14:06:28 +0000 |
commit | a899c362be71cb7b94bd318c57702446b017005c (patch) | |
tree | 3677815c15554d5fb6d143d08dc3e5b16b3ecd8a /meta/recipes-core | |
parent | 50437f9c187f1a884825a8d1ec12da47a5e58670 (diff) | |
download | openembedded-core-a899c362be71cb7b94bd318c57702446b017005c.tar.gz openembedded-core-a899c362be71cb7b94bd318c57702446b017005c.tar.bz2 openembedded-core-a899c362be71cb7b94bd318c57702446b017005c.zip |
sysvinit-inittab: Disable the carrier detect requirement for serial consoles
This aligns the params of getty with the ones used in Debian. From the
getty(8) manpage:
,----[ getty(8) manpage ]
| -L, --local-line
|
| Force the line to be a local line with no need for carrier
| detect. This can be useful when you have a locally attached
| terminal where the serial line does not set the carrier detect
| signal.
`----
Reported-by: Craig McQueen <craig.mcqueen@beamcommunications.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Craig McQueen <craig.mcqueen@beamcommunications.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb index c3244b4602..657ef02204 100644 --- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb @@ -23,7 +23,7 @@ do_install() { do j=`echo ${i} | sed s/\;/\ /g` label=`echo ${i} | sed -e 's/^.*;tty//' -e 's/;.*//'` - echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab + echo "$label:12345:respawn:${base_sbindir}/getty -L ${j}" >> ${D}${sysconfdir}/inittab done if [ "${USE_VT}" = "1" ]; then |