diff options
author | Jonathan Liu <net147@gmail.com> | 2013-05-23 19:15:11 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:14:48 +0100 |
commit | 7bb6021c4c70b6abdb9d9a3e72d9447c872751a2 (patch) | |
tree | 073691291ed29fe1fc290aa06a8c9bfb703a146b /meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | |
parent | 657e46480b6f21b3e81e3f33764392539d7308ef (diff) | |
download | poky-7bb6021c4c70b6abdb9d9a3e72d9447c872751a2.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.
(From OE-Core rev: 9e39d10ec92db23c9765b83559c32c0302bc8c5d)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service')
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 16 |
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 @@ | |||
1 | # This file is part of systemd. | 1 | # This file is part of systemd. |
2 | # | 2 | # |
3 | # systemd is free software; you can redistribute it and/or modify it | 3 | # systemd is free software; you can redistribute it and/or modify it |
4 | # under the terms of the GNU General Public License as published by | 4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2 of the License, or | 5 | # the Free Software Foundation; either version 2.1 of the License, or |
6 | # (at your option) any later version. | 6 | # (at your option) any later version. |
7 | 7 | ||
8 | [Unit] | 8 | [Unit] |
9 | Description=Serial Getty on %I | 9 | Description=Serial Getty on %I |
10 | BindTo=dev-%i.device | 10 | Documentation=man:agetty(8) man:systemd-getty-generator(8) |
11 | After=dev-%i.device systemd-user-sessions.service | 11 | Documentation=http://0pointer.de/blog/projects/serial-console.html |
12 | BindsTo=dev-%i.device | ||
13 | After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service | ||
14 | After=rc-local.service | ||
12 | 15 | ||
13 | # If additional gettys are spawned during boot then we should make | 16 | # If additional gettys are spawned during boot then we should make |
14 | # sure that this is synchronized before getty.target, even though | 17 | # sure that this is synchronized before getty.target, even though |
15 | # getty.target didn't actually pull it in. | 18 | # getty.target didn't actually pull it in. |
16 | Before=getty.target | 19 | Before=getty.target |
20 | IgnoreOnIsolate=yes | ||
17 | 21 | ||
18 | [Service] | 22 | [Service] |
19 | Environment=TERM=vt100 | 23 | ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102 |
20 | ExecStart=-/sbin/agetty -s %I @BAUDRATE@ | 24 | Type=idle |
21 | Restart=always | 25 | Restart=always |
22 | RestartSec=0 | 26 | RestartSec=0 |
23 | UtmpIdentifier=%I | 27 | UtmpIdentifier=%I |