summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-04-11 00:29:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-11 22:02:04 +0100
commit87f7f062dfcd5c05b6bea3cfe7b8d3dd7e375ce4 (patch)
tree72e537394cf763298cd2688333767dac99aa9e2d /meta/recipes-core/systemd
parent16cb70663f4178d386a6e2dad119b569319a646f (diff)
downloadpoky-87f7f062dfcd5c05b6bea3cfe7b8d3dd7e375ce4.tar.gz
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. (From OE-Core master rev: b54b73834e73d55de1038b55d0a4d7f49cda52d0) (From OE-Core rev: 4e9d7fc44a1fcefe15dd66905ae0dbbc7dc1ca9d) 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>
Diffstat (limited to 'meta/recipes-core/systemd')
-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
21 21
22[Service] 22[Service]
23Environment="TERM=xterm" 23Environment="TERM=xterm"
24ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM 24ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM
25Type=idle 25Type=idle
26Restart=always 26Restart=always
27RestartSec=0 27RestartSec=0