]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-serialgetty: allow baud rate overriding
authorAwais Belal <awais_belal@mentor.com>
Mon, 11 Apr 2016 07:29:14 +0000 (00:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Apr 2016 21:01:54 +0000 (22:01 +0100)
In case a getty is required on a UART which is not being
used as the kernel console, the current agetty invocation
fails to obey the baud rate configured through the
SERIAL_CONSOLES variable because it uses --keep-baud.

(From OE-Core master rev: b54b73834e73d55de1038b55d0a4d7f49cda52d0)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

index 182167befe9aafd996eca806a70b807c20df4097..e8b027e97dee811530a7ad5ccff19ad71c88ee72 100644 (file)
@@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
 
 [Service]
 Environment="TERM=xterm"
-ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM
 Type=idle
 Restart=always
 RestartSec=0