aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-serialgetty
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-23 19:15:11 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-24 14:07:04 +0100
commit9e39d10ec92db23c9765b83559c32c0302bc8c5d (patch)
treee2057efc231a047f3e5250f543556453b40019a8 /meta/recipes-core/systemd/systemd-serialgetty
parentaf56670f656ec0989aa7fd6cf6037cbc9cd88185 (diff)
downloadopenembedded-core-contrib-9e39d10ec92db23c9765b83559c32c0302bc8c5d.tar.gz
systemd: update to 204
Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Added missing util-linux dependency. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty')
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service16
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 8eeaab697c..1c14dfea6a 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -1,23 +1,27 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Serial Getty on %I
-BindTo=dev-%i.device
-After=dev-%i.device systemd-user-sessions.service
+Documentation=man:agetty(8) man:systemd-getty-generator(8)
+Documentation=http://0pointer.de/blog/projects/serial-console.html
+BindsTo=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+After=rc-local.service
# If additional gettys are spawned during boot then we should make
# sure that this is synchronized before getty.target, even though
# getty.target didn't actually pull it in.
Before=getty.target
+IgnoreOnIsolate=yes
[Service]
-Environment=TERM=vt100
-ExecStart=-/sbin/agetty -s %I @BAUDRATE@
+ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102
+Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I