mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
16cb70663f
commit
87f7f062df
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user