Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package util-linux for openSUSE:Factory checked in at 2023-03-05 20:07:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/util-linux (Old) and /work/SRC/openSUSE:Factory/.util-linux.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "util-linux" Sun Mar 5 20:07:41 2023 rev:265 rq:1068510 version:2.38.1 Changes: -------- --- /work/SRC/openSUSE:Factory/util-linux/util-linux.changes 2023-02-16 21:09:51.608228181 +0100 +++ /work/SRC/openSUSE:Factory/.util-linux.new.31432/util-linux.changes 2023-03-05 20:07:42.764625361 +0100 @@ -1,0 +2,9 @@ +Mon Feb 27 09:01:54 UTC 2023 - pgaj...@suse.com + +- added patches + agetty: don't ignore --noclear when re-print issue file + https://github.com/util-linux/util-linux/commit/0c0fb46dcef6c63c74094486e499e376fdb33a04.diff + [bsc#1194322] + + util-linux-honor-noclear-when-reprint-issue.patch + +------------------------------------------------------------------- New: ---- util-linux-honor-noclear-when-reprint-issue.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.ROpjFF/_old 2023-03-05 20:07:44.280632368 +0100 +++ /var/tmp/diff_new_pack.ROpjFF/_new 2023-03-05 20:07:44.288632406 +0100 @@ -112,6 +112,8 @@ Patch4: util-linux-bash-completion-su-chsh-l.patch # PATCH-FIX-SUSE util-linux-fix-tests-when-@-in-path.patch bsc#1194038 -- rpmbuild %checks fail when @ in the directory path Patch5: util-linux-fix-tests-when-at-symbol-in-path.patch +# https://github.com/util-linux/util-linux/commit/0c0fb46dcef6c63c74094486e499e376fdb33a04.diff +Patch6: util-linux-honor-noclear-when-reprint-issue.patch BuildRequires: audit-devel BuildRequires: bc BuildRequires: binutils-devel ++++++ util-linux-honor-noclear-when-reprint-issue.patch ++++++ Index: util-linux-2.38.1/term-utils/agetty.c =================================================================== --- util-linux-2.38.1.orig/term-utils/agetty.c +++ util-linux-2.38.1/term-utils/agetty.c @@ -2066,7 +2066,8 @@ again: if (!wait_for_term_input(STDIN_FILENO)) { eval_issue_file(ie, op, tp); if (issue_is_changed(ie)) { - if (op->flags & F_VCONSOLE) + if ((op->flags & F_VCONSOLE) + && (op->flags & F_NOCLEAR) == 0) termio_clear(STDOUT_FILENO); goto again; } @@ -2207,7 +2208,8 @@ static char *get_logname(struct issue *i if (!issue_is_changed(ie)) goto no_reload; tcflush(STDIN_FILENO, TCIFLUSH); - if (op->flags & F_VCONSOLE) + if ((op->flags & F_VCONSOLE) + && (op->flags & F_NOCLEAR) == 0) termio_clear(STDOUT_FILENO); bp = logname; *bp = '\0';