]> code.ossystems Code Review - openembedded-core.git/commit
systemd-serialgetty: change to handle SERIAL_CONSOLES
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 30 Apr 2013 14:33:51 +0000 (15:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2013 16:40:51 +0000 (17:40 +0100)
commitcd89a71d0c3dce14d59134667bc47fa8210cfa7a
tree7925fcf17649f75ad7e6f8155986ff193c8b414a
parent013a1e304e6845eda97b94d133ad75bbccff0b9a
systemd-serialgetty: change to handle SERIAL_CONSOLES

SERIAL_CONSOLES is now set from SERIAL_CONSOLE if not already set.

This is a little bit gnarly because we have to create a separate service
file for each different baud rate; assume that the first baud rate is
the default, thus preserving the previous behaviour in the event there
is only one baud rate in use.

This change also installs the service file before modifying it in place,
allowing do_install to re-execute properly; additionally the service
file now has the correct permissions (i.e. no execute bit set).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/systemd/systemd-serialgetty.bb