summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-worker9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 8a24161250..96a4d4cdec 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -24,6 +24,15 @@ if sys.argv[1] == "decafbadbad":
24 except: 24 except:
25 import profile 25 import profile
26 26
27# Unbuffer stdout to avoid log truncation in the event
28# of an unorderly exit as well as to provide timely
29# updates to log files for use with tail
30try:
31 if sys.stdout.name == '<stdout>':
32 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
33except:
34 pass
35
27logger = logging.getLogger("BitBake") 36logger = logging.getLogger("BitBake")
28 37
29try: 38try: