diff options
Diffstat (limited to 'package/systemd/systemd-01-fix-getty-unit.patch')
| -rw-r--r-- | package/systemd/systemd-01-fix-getty-unit.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/systemd/systemd-01-fix-getty-unit.patch b/package/systemd/systemd-01-fix-getty-unit.patch new file mode 100644 index 0000000000..166a2e545c --- /dev/null +++ b/package/systemd/systemd-01-fix-getty-unit.patch @@ -0,0 +1,32 @@ +Prefer getty to agetty in console setup systemd units + +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> +--- + +Index: systemd-206/units/getty@.service.m4 +=================================================================== +--- systemd-206.orig/units/getty@.service.m4 2013-07-22 00:43:28.000000000 +0200 ++++ systemd-206/units/getty@.service.m4 2013-09-18 10:20:17.000000000 +0200 +@@ -27,7 +27,7 @@ + + [Service] + # the VT is cleared by TTYVTDisallocate +-ExecStart=-/sbin/agetty --noclear %I ++ExecStart=-/sbin/getty -L %I 115200 vt100 + Type=idle + Restart=always + RestartSec=0 +Index: systemd-206/units/serial-getty@.service.m4 +=================================================================== +--- systemd-206.orig/units/serial-getty@.service.m4 2013-07-22 00:43:28.000000000 +0200 ++++ systemd-206/units/serial-getty@.service.m4 2013-09-18 10:21:31.000000000 +0200 +@@ -22,7 +22,7 @@ + IgnoreOnIsolate=yes + + [Service] +-ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 ++ExecStart=-/sbin/getty -L %I 115200 vt100 + Type=idle + Restart=always + RestartSec=0 |

