summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-03-30 14:35:15 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 21:30:54 +0100
commitb54b73834e73d55de1038b55d0a4d7f49cda52d0 (patch)
tree822cd6727f435ed1cb6b5edf6fd67cefe65effa8
parent9393cbb392d37bebc5f4bc79297940cd8fbd2816 (diff)
downloadopenembedded-core-b54b73834e73d55de1038b55d0a4d7f49cda52d0.tar.gz
openembedded-core-b54b73834e73d55de1038b55d0a4d7f49cda52d0.tar.bz2
openembedded-core-b54b73834e73d55de1038b55d0a4d7f49cda52d0.zip
systemd-serialgetty: allow baud rate overriding
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. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 182167befe..e8b027e97d 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -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