diff options
author | Awais Belal <awais_belal@mentor.com> | 2016-03-30 14:35:15 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-31 09:15:05 +0100 |
commit | 9be3fb25609a1bbf8aabadd67088e92097727c60 (patch) | |
tree | 107606eac47df1dc5ed593cedf5e94d94a2ab101 /meta/recipes-core | |
parent | cf6788c236d09075c941ee27bc582c59fd132839 (diff) | |
download | poky-9be3fb25609a1bbf8aabadd67088e92097727c60.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 rev: b54b73834e73d55de1038b55d0a4d7f49cda52d0)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 |
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] |
23 | Environment="TERM=xterm" | 23 | Environment="TERM=xterm" |
24 | ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM | 24 | ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM |
25 | Type=idle | 25 | Type=idle |
26 | Restart=always | 26 | Restart=always |
27 | RestartSec=0 | 27 | RestartSec=0 |