[oe-commits] Richard Purdie : systemd-serialgetty: Update to match version in recent systemd

git at git.openembedded.org git at git.openembedded.org
Wed Feb 12 14:18:56 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: b188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Feb 11 22:48:09 2014 +0000

systemd-serialgetty: Update to match version in recent systemd

Whilst debugging other issues I noticed this was out of sync with the code
in systemd itself. This brings things back into sync and shouldn't hurt
anything.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-core/systemd/systemd-serialgetty/serial-getty at .service | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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 1c14dfe..46c15ed 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
@@ -20,7 +20,7 @@ Before=getty.target
 IgnoreOnIsolate=yes
 
 [Service]
-ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102
+ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
 Type=idle
 Restart=always
 RestartSec=0
@@ -30,7 +30,4 @@ TTYReset=yes
 TTYVHangup=yes
 KillMode=process
 IgnoreSIGPIPE=no
-
-# Some login implementations ignore SIGTERM, so we send SIGHUP
-# instead, to ensure that login terminates cleanly.
-KillSignal=SIGHUP
+SendSIGHUP=yes



More information about the Openembedded-commits mailing list