summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-17 12:12:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-17 14:40:56 +0100
commita3f7dc042fc7b1c308bfd248431930eb8ba50326 (patch)
tree11664425210e0341af367d279049d05f01631219 /lib/bb/cooker.py
parentaaf3cc024315450c1674819edf2a4e5cdf293f35 (diff)
downloadopenembedded-core-contrib-a3f7dc042fc7b1c308bfd248431930eb8ba50326.tar.gz
cooker: ensure prefile/postfile can work in memory resident mode
The prefile/postfile options weren't working in memory resident mode because they weren't being passed through to the server, so ensure that they do get passed through and that the server is reset when the values come through. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index fb38289397..a2b0bb5d7d 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -527,9 +527,11 @@ class BBCooker:
self.handleCollections( self.data.getVar("BBFILE_COLLECTIONS", True) )
def updateConfigOpts(self, options, environment):
+ clean = True
for o in options:
+ if o in ['prefile', 'postfile']:
+ clean = False
setattr(self.configuration, o, options[o])
- clean = True
for k in bb.utils.approved_variables():
if k in environment and k not in self.configuration.env:
logger.debug(1, "Updating environment variable %s to %s" % (k, environment[k]))