path: root/lib/bb/server/
diff options
authorRichard Purdie <>2017-08-31 17:07:24 +0100
committerRichard Purdie <>2017-08-31 17:35:09 +0100
commit638d366234fad78f283d3a13a12b07cb0ccbe914 (patch)
treed83546da91aa4e643dd6ad0f9cf388d1cf3b44fd /lib/bb/server/
parent9dc7f384db0479569ff93a76a623d5395fecaf47 (diff)
cooker: Change to consistent prefile/postfile handling
Currently the original prefile and postfile passed when starting bitbake server are 'sticky'. With the new memory resident model this doesn't make sense as the server the system is started with isn't special. This patch changes the code so the prefile/postfile are used if specified on the commandline and not used otherwise. This makes the behaviour much more predictable and expected and as an added bonus simplifies the code. Signed-off-by: Richard Purdie <>
Diffstat (limited to 'lib/bb/server/')
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/bb/server/ b/lib/bb/server/
index fad8aac4da..5c7dfaefa1 100644
--- a/lib/bb/server/
+++ b/lib/bb/server/
@@ -405,12 +405,6 @@ class BitBakeServer(object):
server = ProcessServer(self.bitbake_lock, self.sock, self.sockname)
- # Copy prefile and postfile to _server variants
- for param in ('prefile', 'postfile'):
- value = getattr(self.configuration, param)
- if value:
- setattr(self.configuration, "%s_server" % param, value)
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset, self.readypipein)
server.cooker = self.cooker
server.server_timeout = self.configuration.server_timeout