summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-20 13:07:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-20 15:10:08 +0100
commit0aa27598d9fdc8c3d18839b3ef93d0ba9698f761 (patch)
treece97aaa56462718fa7043f02c5e37653004e21d6 /lib/bb/cooker.py
parentd872fef2c38749c3c6f5d84344db3ec2f9f134ce (diff)
downloadbitbake-0aa27598d9fdc8c3d18839b3ef93d0ba9698f761.tar.gz
cooker: Ensure configuration matches variable tracking state
When we reset, the current tracking value may change unexpectedly. This patch ensures that the default value is preserved over a datastore reset. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index e304d81c5..9c9734f88 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -150,9 +150,11 @@ class BBCooker:
self.data = self.databuilder.data
def enableDataTracking(self):
+ self.configuration.tracking = True
self.data.enableTracking()
def disableDataTracking(self):
+ self.configuration.tracking = False
self.data.disableTracking()
def loadConfigurationData(self):