mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake/runqueue.py: Ensure the flush happens as late as possible to avoid data mixups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -990,9 +990,6 @@ class RunQueueExecute:
|
|||||||
return
|
return
|
||||||
|
|
||||||
def fork_off_task(self, fn, task, taskname):
|
def fork_off_task(self, fn, task, taskname):
|
||||||
sys.stdout.flush()
|
|
||||||
sys.stderr.flush()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
the_data = self.cooker.bb_cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data)
|
the_data = self.cooker.bb_cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data)
|
||||||
|
|
||||||
@@ -1005,6 +1002,9 @@ class RunQueueExecute:
|
|||||||
comps = var.split("=")
|
comps = var.split("=")
|
||||||
env[comps[0]] = comps[1]
|
env[comps[0]] = comps[1]
|
||||||
|
|
||||||
|
sys.stdout.flush()
|
||||||
|
sys.stderr.flush()
|
||||||
|
|
||||||
proc = subprocess.Popen(["bitbake-runtask", fn, taskname, str(self.cooker.configuration.dry_run)], env=env, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
|
proc = subprocess.Popen(["bitbake-runtask", fn, taskname, str(self.cooker.configuration.dry_run)], env=env, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
|
||||||
pipein = proc.stdout
|
pipein = proc.stdout
|
||||||
pipeout = proc.stdin
|
pipeout = proc.stdin
|
||||||
|
|||||||
Reference in New Issue
Block a user