diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-02 18:53:39 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-07-03 00:05:18 +0200 |
commit | 7ced54845c80ef7ba2e0a710cfed7858e30da09c (patch) | |
tree | 352e91b90cb317a2f103b25f2fdce79452d7a73e /package/systemd/0004-fix-getty-unit.patch | |
parent | 74a56295c1d5133edccea7de4e8ab097f58ca678 (diff) | |
download | buildroot-7ced54845c80ef7ba2e0a710cfed7858e30da09c.tar.gz buildroot-7ced54845c80ef7ba2e0a710cfed7858e30da09c.zip |
systemd: don't download patches from Github
Patches downloaded from Github are not stable, so bring them in the
tree.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/systemd/0004-fix-getty-unit.patch')
-rw-r--r-- | package/systemd/0004-fix-getty-unit.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/systemd/0004-fix-getty-unit.patch b/package/systemd/0004-fix-getty-unit.patch new file mode 100644 index 0000000000..8ec3bcf25a --- /dev/null +++ b/package/systemd/0004-fix-getty-unit.patch @@ -0,0 +1,30 @@ +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> +--- + +diff -aburN systemd-212.orig/units/getty@.service.m4 systemd-212/units/getty@.service.m4 +--- systemd-212.orig/units/getty@.service.m4 2014-01-28 11:08:51.000000000 +0100 ++++ systemd-212/units/getty@.service.m4 2014-03-26 11:06:27.000000000 +0100 +@@ -27,7 +27,7 @@ + + [Service] + # the VT is cleared by TTYVTDisallocate +-ExecStart=-/sbin/agetty --noclear %I $TERM ++ExecStart=-/sbin/getty -L %I 115200 vt100 + Type=idle + Restart=always + RestartSec=0 +diff -aburN systemd-212.orig/units/serial-getty@.service.m4 systemd-212/units/serial-getty@.service.m4 +--- systemd-212.orig/units/serial-getty@.service.m4 2014-03-13 18:47:24.000000000 +0100 ++++ systemd-212/units/serial-getty@.service.m4 2014-03-26 11:07:01.000000000 +0100 +@@ -22,7 +22,7 @@ + IgnoreOnIsolate=yes + + [Service] +-ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM ++ExecStart=-/sbin/getty -L %I 115200 vt100 + Type=idle + Restart=always + RestartSec=0 |