summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-18 11:36:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-20 08:57:41 +0100
commitc603849494f240870937564cc47d27ad044e2188 (patch)
treef8109ca17b4fef5d53ef4841f7772a22d039b39b /bitbake
parentf6247676a43e7aa2c8644067335e319edac41add (diff)
downloadpoky-c603849494f240870937564cc47d27ad044e2188.tar.gz
bitbake: cooker: Drop unneeded flush calls
Since the flush calls have significant effects for bitbake timeout issues, drop the remaining ones from cooker. These aren't in as critical paths as the other issues but it makes sense to clean up. (Bitbake rev: dd682363341bae3b060e284d73f000813964dc05) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 4089d003bb..87aa71bb65 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -172,7 +172,6 @@ class BBCooker:
172 self.waitIdle = server.wait_for_idle 172 self.waitIdle = server.wait_for_idle
173 173
174 bb.debug(1, "BBCooker starting %s" % time.time()) 174 bb.debug(1, "BBCooker starting %s" % time.time())
175 sys.stdout.flush()
176 175
177 self.configwatched = {} 176 self.configwatched = {}
178 self.parsewatched = {} 177 self.parsewatched = {}
@@ -209,13 +208,11 @@ class BBCooker:
209 signal.signal(signal.SIGHUP, self.sigterm_exception) 208 signal.signal(signal.SIGHUP, self.sigterm_exception)
210 209
211 bb.debug(1, "BBCooker startup complete %s" % time.time()) 210 bb.debug(1, "BBCooker startup complete %s" % time.time())
212 sys.stdout.flush()
213 211
214 def init_configdata(self): 212 def init_configdata(self):
215 if not hasattr(self, "data"): 213 if not hasattr(self, "data"):
216 self.initConfigurationData() 214 self.initConfigurationData()
217 bb.debug(1, "BBCooker parsed base configuration %s" % time.time()) 215 bb.debug(1, "BBCooker parsed base configuration %s" % time.time())
218 sys.stdout.flush()
219 self.handlePRServ() 216 self.handlePRServ()
220 217
221 def _baseconfig_set(self, value): 218 def _baseconfig_set(self, value):