Skip to content

Commit 63db581

Browse files
committed
Flush stdout before bootstrap
1 parent 20178be commit 63db581

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def run(*args, cleanup=None, **kwargs):
1919
if kwargs.pop('verbose', False):
2020
print(arguments)
2121

22+
sys.stdout.flush()
23+
sys.stderr.flush()
24+
2225
try:
2326
return subprocess.run(arguments, check=True, **kwargs)
2427
except subprocess.CalledProcessError:

rootfs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import argparse
1818
import os
1919
import signal
20+
import sys
2021
import threading
2122

2223
from lib.generator import Generator, stage0_arch_map

0 commit comments

Comments
 (0)