bitbake: cooker: Ensure configuration matches variable tracking state
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2013 13:07:18 +0000 (13:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2013 14:10:32 +0000 (15:10 +0100)
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>
bitbake/lib/bb/cooker.py

index e304d81..9c9734f 100644 (file)
@@ -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):