boot-qemu.sh: Use stdbuf instead of unbuffer - #49
Conversation
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
left a comment
There was a problem hiding this comment.
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. |
It is up to you. We can merge the boot-utils pull request then either update the submodule and |
nathanchance
left a comment
There was a problem hiding this comment.
Ah, I thought I was commenting on the continuous-integration2 one, helps to pay attention :^)
LGTM from my tests.
After ClangBuiltLinux/boot-utils#49 we use stdbuf from coreutils.
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.