mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
systemd-serialgetty: sync with upstream
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "Systemd serial config"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SERIAL_CONSOLE ?= "115200 ttyS0"
|
||||
|
||||
|
||||
@@ -17,11 +17,15 @@ Before=getty.target
|
||||
|
||||
[Service]
|
||||
Environment=TERM=vt100
|
||||
ExecStart=-/sbin/getty @BAUDRATE@ %I
|
||||
ExecStart=-/sbin/agetty -s %I @BAUDRATE@
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
UtmpIdentifier=%I
|
||||
TTYPath=/dev/%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
KillMode=process
|
||||
IgnoreSIGPIPE=no
|
||||
|
||||
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
||||
# instead, to ensure that login terminates cleanly.
|
||||
|
||||
Reference in New Issue
Block a user