diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-01-19 22:47:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-20 12:58:55 +0000 |
commit | b8744d5376a9df4ec30120fdc8f39579d34d0545 (patch) | |
tree | 9503d5816da66544969292ddb5ff999e50c1b9a8 /meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch | |
parent | b18886d9b7c913cd463a98d0ef1b3a8a240f5791 (diff) | |
download | poky-b8744d5376a9df4ec30120fdc8f39579d34d0545.tar.gz |
systemd: add systemd recipes
Add systemd recipes and associated support recipes.
Mostly based on meta-oe/meta-systemd, so almost all credit should go to:
Andreas Müller <schnitzeltony@googlemail.com>
Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Holger Hans Peter Freyther <holger@moiji-mobile.com>
Khem Raj <raj.khem@gmail.com>
Koen Kooi <koen@dominion.thruhere.net>
Martin Jansa <Martin.Jansa@gmail.com>
(From OE-Core rev: 6a8a48b4d0d0b9b8d8af46cae11245bcb870bbc3)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch b/meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch new file mode 100644 index 0000000000..3e5ea71e04 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Prefer getty to agetty in console setup systemd units | ||
2 | |||
3 | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> | ||
4 | --- | ||
5 | units/getty@.service.m4 | 2 +- | ||
6 | units/serial-getty@.service.m4 | 2 +- | ||
7 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
8 | |||
9 | Index: systemd-37/units/getty@.service.m4 | ||
10 | =================================================================== | ||
11 | --- systemd-37.orig/units/getty@.service.m4 | ||
12 | +++ systemd-37/units/getty@.service.m4 | ||
13 | @@ -41,7 +41,7 @@ | ||
14 | |||
15 | [Service] | ||
16 | Environment=TERM=linux | ||
17 | # the VT is cleared by TTYVTDisallocate | ||
18 | -ExecStart=-/sbin/agetty --noclear %I 38400 | ||
19 | +ExecStart=-/sbin/getty -L %I 115200 linux | ||
20 | Type=idle | ||
21 | Restart=always | ||
22 | RestartSec=0 | ||
23 | Index: systemd-37/units/serial-getty@.service.m4 | ||
24 | =================================================================== | ||
25 | --- systemd-37.orig/units/serial-getty@.service.m4 | ||
26 | +++ systemd-37/units/serial-getty@.service.m4 | ||
27 | @@ -37,7 +37,7 @@ | ||
28 | |||
29 | [Service] | ||
30 | Environment=TERM=vt102 | ||
31 | -ExecStart=-/sbin/agetty -s %I 115200,38400,9600 | ||
32 | +ExecStart=-/sbin/getty -L %I 115200 vt100 | ||
33 | Type=idle | ||
34 | Restart=always | ||
35 | RestartSec=0 | ||