Skip to content

boot-qemu.sh: Use stdbuf instead of unbuffer#49

Merged
nathanchance merged 1 commit into
mainfrom
buffering
Sep 21, 2021
Merged

boot-qemu.sh: Use stdbuf instead of unbuffer#49
nathanchance merged 1 commit into
mainfrom
buffering

Conversation

@kees

@kees kees commented Sep 18, 2021

Copy link
Copy Markdown
Contributor

To avoid needing the "expect" package, use "stdbuf" from coreutils to control output buffering. While at it, switch to line-buffering to avoid stdout/stderr mixing.

To avoid needing the "expect" package, use "stdbuf" from coreutils to control output buffering. While at it, switch to line-buffering to avoid stdout/stderr mixing.

@nickdesaulniers nickdesaulniers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kees

kees commented Sep 21, 2021

Copy link
Copy Markdown
Contributor Author

Can you modify https://github.com/ClangBuiltLinux/continuous-integration2/blob/19a837e93c21a4c1866bc77e012cc83a5fae41ea/install_deps.py#L32 as well? 🍰 🚶‍♀️

Yeah, I wasn't sure what the correct order of operations should be here, given the separate git trees.

@nathanchance

Copy link
Copy Markdown
Member

Yeah, I wasn't sure what the correct order of operations should be here, given the separate git trees.

It is up to you. We can merge the boot-utils pull request then either update the submodule and install_deps.py in this pull request or a separate one. I'll test the boot-utils one now, sorry for the delay!

@nathanchance nathanchance left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I thought I was commenting on the continuous-integration2 one, helps to pay attention :^)

LGTM from my tests.

@nathanchance nathanchance merged commit 2edbca2 into main Sep 21, 2021
@nathanchance nathanchance deleted the buffering branch September 21, 2021 17:00
nickdesaulniers added a commit to ClangBuiltLinux/continuous-integration2 that referenced this pull request Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants