diff options
author | Awais Belal <awais_belal@mentor.com> | 2016-04-11 00:29:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-11 22:02:04 +0100 |
commit | 87f7f062dfcd5c05b6bea3cfe7b8d3dd7e375ce4 (patch) | |
tree | 72e537394cf763298cd2688333767dac99aa9e2d /meta/recipes-core/systemd | |
parent | 16cb70663f4178d386a6e2dad119b569319a646f (diff) | |
download | poky-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@.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 |