From 78e325daf53efad4d1d654ea495d8c870caf3eb9 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 15 Oct 2020 23:37:43 +0200 Subject: [PATCH] units: update serial-getty@.service to support 57600 baud rate Closes: #969144 --- debian/patches/series | 1 + ...etty-.service-to-support-57600-baud-.patch | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 debian/patches/units-update-serial-getty-.service-to-support-57600-baud-.patch diff --git a/debian/patches/series b/debian/patches/series index 3fee4d5bc..710992bfd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,6 +4,7 @@ seccomp-add-support-for-riscv64.patch xdg-autostart-Add-support-for-Path-in-XDG-Desktop-File.patch xdg-autostart-Ignore-more-common-XDG-Desktop-Entry-fields.patch xdg-autostart-Lower-most-info-messages-to-debug-level.patch +units-update-serial-getty-.service-to-support-57600-baud-.patch debian/Use-Debian-specific-config-files.patch debian/Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch debian/Make-run-lock-tmpfs-an-API-fs.patch diff --git a/debian/patches/units-update-serial-getty-.service-to-support-57600-baud-.patch b/debian/patches/units-update-serial-getty-.service-to-support-57600-baud-.patch new file mode 100644 index 000000000..2c08effbb --- /dev/null +++ b/debian/patches/units-update-serial-getty-.service-to-support-57600-baud-.patch @@ -0,0 +1,23 @@ +From: =?utf-8?q?Bj=C3=B8rn_Mork?= +Date: Tue, 13 Oct 2020 17:07:07 +0200 +Subject: units: update serial-getty@.service to support 57600 baud rate + +Fixes: #17306 +(cherry picked from commit 7fe7547ba3b953c142f41a9931dba7b6ff78fe0b) +--- + units/serial-getty@.service.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 +index cab89fb..4b72bef 100644 +--- a/units/serial-getty@.service.m4 ++++ b/units/serial-getty@.service.m4 +@@ -33,7 +33,7 @@ Before=rescue.service + # The '-o' option value tells agetty to replace 'login' arguments with an + # option to preserve environment (-p), followed by '--' for safety, and then + # the entered username. +-ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM ++ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I $TERM + Type=idle + Restart=always + UtmpIdentifier=%I -- 2.39.5