[oe-commits] Otavio Salvador : systemd-serialgetty: Disable the carrier detect requirement for serial consoles
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 20 14:08:55 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: d7f057341e5c007783f41247ee054f257a9f2f64
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d7f057341e5c007783f41247ee054f257a9f2f64
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Wed Nov 12 08:33:26 2014 -0200
systemd-serialgetty: Disable the carrier detect requirement for serial consoles
This aligns the params of getty with the ones used in Debian. From the
getty(8) manpage:
,----[ getty(8) manpage ]
| -L, --local-line
|
| Force the line to be a local line with no need for carrier
| detect. This can be useful when you have a locally attached
| terminal where the serial line does not set the carrier detect
| signal.
`----
Reported-by: Craig McQueen <craig.mcqueen at beamcommunications.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
index 6dd335c..182167b 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
@@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
[Service]
Environment="TERM=xterm"
-ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
Type=idle
Restart=always
RestartSec=0
More information about the Openembedded-commits
mailing list