[oe-commits] Koen Kooi : systemd-serialgetty: sync with upstream
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 23 07:01:48 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: 6b22bd198a87b5f113971d8fcd0e7211cd143c7d
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=6b22bd198a87b5f113971d8fcd0e7211cd143c7d
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Thu Mar 22 18:32:32 2012 +0100
systemd-serialgetty: sync with upstream
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
.../recipes-core/systemd/systemd-serialgetty.bb | 2 +-
.../systemd-serialgetty/serial-getty at .service | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
index 5dd9e82..c310672 100644
--- a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
@@ -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"
diff --git a/meta-oe/recipes-core/systemd/systemd-serialgetty/serial-getty at .service b/meta-oe/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
index daf0dac..8eeaab6 100644
--- a/meta-oe/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
+++ b/meta-oe/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
@@ -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.
More information about the Openembedded-commits
mailing list