summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cookerdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 17:07:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 23:30:03 +0100
commit984da85479fa6127df806b2aa3a9fb27d268f2a3 (patch)
tree0df2e12928642236be1492f96dd8fccfa88622da /bitbake/lib/bb/cookerdata.py
parent5759039a89674c1e11b3d73cd6487f4586d25a73 (diff)
downloadpoky-984da85479fa6127df806b2aa3a9fb27d268f2a3.tar.gz
bitbake: 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. (Bitbake rev: 638d366234fad78f283d3a13a12b07cb0ccbe914) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r--bitbake/lib/bb/cookerdata.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 197db6215e..d105ab7b2d 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -127,8 +127,6 @@ class CookerConfiguration(object):
127 self.extra_assume_provided = [] 127 self.extra_assume_provided = []
128 self.prefile = [] 128 self.prefile = []
129 self.postfile = [] 129 self.postfile = []
130 self.prefile_server = []
131 self.postfile_server = []
132 self.debug = 0 130 self.debug = 0
133 self.cmd = None 131 self.cmd = None
134 self.abort = True 132 self.abort = True