diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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..9b4c940984 --- /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 | Upstream-Status: Inappropriate [configuration specific] | ||
4 | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> | ||
5 | --- | ||
6 | units/getty@.service.m4 | 2 +- | ||
7 | units/serial-getty@.service.m4 | 2 +- | ||
8 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
9 | |||
10 | Index: git/units/getty@.service.m4 | ||
11 | =================================================================== | ||
12 | --- git.orig/units/getty@.service.m4 2014-03-15 08:16:17.000000000 -0700 | ||
13 | +++ git/units/getty@.service.m4 2014-03-15 08:21:11.007695825 -0700 | ||
14 | @@ -27,7 +27,7 @@ | ||
15 | |||
16 | [Service] | ||
17 | # the VT is cleared by TTYVTDisallocate | ||
18 | -ExecStart=-/sbin/agetty --noclear %I $TERM | ||
19 | +ExecStart=-/sbin/getty -L %I $TERM | ||
20 | Type=idle | ||
21 | Restart=always | ||
22 | RestartSec=0 | ||
23 | Index: git/units/serial-getty@.service.m4 | ||
24 | =================================================================== | ||
25 | --- git.orig/units/serial-getty@.service.m4 2014-03-15 08:16:17.000000000 -0700 | ||
26 | +++ git/units/serial-getty@.service.m4 2014-03-15 08:22:31.291697331 -0700 | ||
27 | @@ -22,7 +22,7 @@ | ||
28 | IgnoreOnIsolate=yes | ||
29 | |||
30 | [Service] | ||
31 | -ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM | ||
32 | +ExecStart=-/sbin/getty -L 115200 %I $TERM | ||
33 | Type=idle | ||
34 | Restart=always | ||
35 | RestartSec=0 | ||