Bug 6676

Summary: Variable history tracking can't be enabled when using Tinfoil
Product: [Build System, Metadata & Runtime] BitBake Reporter: Paul Eggleton <bluelightning>
Component: bitbakeAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: Costin <costin.c.constantin>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, andrax.g.necula, chong.lu, poky.bs.watcher, poky.watcher
Version: 1.7   
Target Milestone: 1.7 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2014-09-03 13:38:39 UTC
At some point the initialisation for bitbake's cooker changed so that the code that determines whether variable history tracking should be enabled now runs during BBCooker's constructor; the side-effect of this is that you can no longer call enableDataTracking() early enough to enable variable history tracking. Tinfoil now needs to be modified to provide a new means of enabling this.
Comment 1 Paul Eggleton 2014-09-05 12:20:44 UTC
Fixed merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1894522f357fdf0b6adb2dcc14f12817628596bd

Note that existing code needs to pass in the new tracking= parameter to the Tinfoil constructor and then the call to enableDataTracking() can be removed. I will take care of doing this in the layer index; I'm not sure we have any other code that is using this at the moment.
Comment 2 Andra Necula 2014-09-30 16:20:25 UTC
Verified on master commit: 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3