From 50031106a14708ff4fa2eaefce46d5089d798ceace7484397a5ee4114bab1cf1 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 10 Jan 2014 14:07:34 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=201 --- ...out.patch => agetty-fooled-on-serial-line-due-plymouth.patch | 2 +- util-linux.changes | 2 +- util-linux.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename agetty-fooled-on-serial-line-due-plymout.patch => agetty-fooled-on-serial-line-due-plymouth.patch (99%) diff --git a/agetty-fooled-on-serial-line-due-plymout.patch b/agetty-fooled-on-serial-line-due-plymouth.patch similarity index 99% rename from agetty-fooled-on-serial-line-due-plymout.patch rename to agetty-fooled-on-serial-line-due-plymouth.patch index 2b1a957..8efb5e8 100644 --- a/agetty-fooled-on-serial-line-due-plymout.patch +++ b/agetty-fooled-on-serial-line-due-plymouth.patch @@ -47,7 +47,7 @@ console as the flags are locked. struct winsize ws; + int i; + -+ for (i = 0; i < 10; i++) { ++ for (i = 0; i < 20; i++) { + /* + * Even with TTYReset=no it seems with systemd or plymouth + * the termios flags become changed from under the first diff --git a/util-linux.changes b/util-linux.changes index ef9c134..19f0687 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -2,7 +2,7 @@ Fri Jan 10 13:08:45 UTC 2014 - werner@suse.de - Add patch - agetty-fooled-on-serial-line-due-plymout.patch + agetty-fooled-on-serial-line-due-plymouth.patch even with TTYReset=no it seems with systemd or plymouth the termios flags become changed from under the first agetty on a serial system console as the flags are locked (bnc#774126). diff --git a/util-linux.spec b/util-linux.spec index 4ca12ea..8faf5c7 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -109,7 +109,7 @@ Patch13: blkdiscard-BLKSSZGET-fills-in-an-int.patch # PATCH-FIX-SUSE -- better support of S390 in agetty Patch14: tty3270-on-serial-line-of-s390.patch # PATCH-FIX-SUSE -- Let agetty not be fooled by locked termios srtucture -Patch15: agetty-fooled-on-serial-line-due-plymout.patch +Patch15: agetty-fooled-on-serial-line-due-plymouth.patch # hack for boot.localfs Patch20: util-linux-HACK-boot.localfs.diff