The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / systemd / 0001-fix-getty-unit.patch
1 Prefer getty to agetty in console setup systemd units
2
3 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
4 Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
5 ---
6
7 diff -aburN systemd-212.orig/units/getty@.service.m4 systemd-212/units/getty@.service.m4
8 --- systemd-212.orig/units/getty@.service.m4    2014-01-28 11:08:51.000000000 +0100
9 +++ systemd-212/units/getty@.service.m4 2014-03-26 11:06:27.000000000 +0100
10 @@ -27,7 +27,7 @@
11  
12  [Service]
13  # the VT is cleared by TTYVTDisallocate
14 -ExecStart=-/sbin/agetty --noclear %I $TERM
15 +ExecStart=-/sbin/getty -L %I 115200 vt100
16  Type=idle
17  Restart=always
18  RestartSec=0
19 diff -aburN systemd-212.orig/units/serial-getty@.service.m4 systemd-212/units/serial-getty@.service.m4
20 --- systemd-212.orig/units/serial-getty@.service.m4     2014-03-13 18:47:24.000000000 +0100
21 +++ systemd-212/units/serial-getty@.service.m4  2014-03-26 11:07:01.000000000 +0100
22 @@ -22,7 +22,7 @@
23  IgnoreOnIsolate=yes
24  
25  [Service]
26 -ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
27 +ExecStart=-/sbin/getty -L %I 115200 vt100
28  Type=idle
29  Restart=always
30  RestartSec=0