summaryrefslogtreecommitdiffstats
path: root/bitbake/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:32 +0100
commitc5a5d23ec4850a7b2f307096117eece7e87f11ed (patch)
tree8f77986ddb316911bd4c6f7945f77f14ac97804e /bitbake/lib/bb/cooker.py
parentdb6bd113d0d146c1e9db50dcf12b49ee0c8aaf14 (diff)
downloadpoky-c5a5d23ec4850a7b2f307096117eece7e87f11ed.tar.gz
bitbake: 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. (Bitbake rev: 0aa27598d9fdc8c3d18839b3ef93d0ba9698f761) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index e304d81c5a..9c9734f887 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -150,9 +150,11 @@ class BBCooker:
150 self.data = self.databuilder.data 150 self.data = self.databuilder.data
151 151
152 def enableDataTracking(self): 152 def enableDataTracking(self):
153 self.configuration.tracking = True
153 self.data.enableTracking() 154 self.data.enableTracking()
154 155
155 def disableDataTracking(self): 156 def disableDataTracking(self):
157 self.configuration.tracking = False
156 self.data.disableTracking() 158 self.data.disableTracking()
157 159
158 def loadConfigurationData(self): 160 def loadConfigurationData(self):