-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If DNF 5 sees an "interactive" TTY on stdout, it will try to draw progress bars and cause the Mock logs to be garbled: fedora-copr/copr#3040. A simple fix is to have DNF 5 output to a pipe instead of a PTY. I'm not sure why output is collected via a PTY from yum/dnf (seems to start from commit 99ca2fa), but it's probably no longer needed for DNF 5?
- Loading branch information
1 parent
21581da
commit 26e42d1
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
If DNF 5 sees an "interactive" TTY on stdout, it will try to draw progress bars | ||
and cause the Mock logs to [be garbled](https://github.com/fedora-copr/copr/issues/3040). | ||
This release brings a fix that simply sets the output of DNF5 to a pipe instead | ||
of a PTY. |