mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 05:49:23 +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+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=751419260aa954499f7abaabaa882bbe"
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=751419260aa954499f7abaabaa882bbe"
|
||||||
|
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
SERIAL_CONSOLE ?= "115200 ttyS0"
|
SERIAL_CONSOLE ?= "115200 ttyS0"
|
||||||
|
|
||||||
|
|||||||
@@ -17,11 +17,15 @@ Before=getty.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=TERM=vt100
|
Environment=TERM=vt100
|
||||||
ExecStart=-/sbin/getty @BAUDRATE@ %I
|
ExecStart=-/sbin/agetty -s %I @BAUDRATE@
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
UtmpIdentifier=%I
|
UtmpIdentifier=%I
|
||||||
|
TTYPath=/dev/%I
|
||||||
|
TTYReset=yes
|
||||||
|
TTYVHangup=yes
|
||||||
KillMode=process
|
KillMode=process
|
||||||
|
IgnoreSIGPIPE=no
|
||||||
|
|
||||||
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
||||||
# instead, to ensure that login terminates cleanly.
|
# instead, to ensure that login terminates cleanly.
|
||||||
|
|||||||
Reference in New Issue
Block a user