Fix "Bootstrapping" message being printed too late in bwrap runs

This should be printed at the beginning, but instead is only shown
at the end, due to output buffering - force an explicit flush.
This commit is contained in:
Gábor Stefanik 2023-12-28 07:25:35 +01:00
parent 9afe93298c
commit bb067d2856
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def main():
def bootstrap(args, generator, target, size):
"""Kick off bootstrap process."""
print(f"Bootstrapping {args.arch}")
print(f"Bootstrapping {args.arch}", flush=True)
if args.chroot:
find_chroot = """
import shutil