Bug 6676 - Variable history tracking can't be enabled when using Tinfoil
Summary: Variable history tracking can't be enabled when using Tinfoil
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium+ normal
Target Milestone: 1.7 M3
Assignee: Paul Eggleton
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-03 13:38 UTC by Paul Eggleton
Modified: 2014-09-30 16:20 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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