summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2025-03-15 00:52:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-18 11:03:17 +0000
commit159a49f35a2b93f569cb8affe9f97fc3c0aa9e66 (patch)
treebf7a26e28464c210f77b040c020d2b9baedc9405 /bitbake/lib/bb
parente4761312f77e3ea23588a3c211f5e44cbd7cac15 (diff)
downloadpoky-159a49f35a2b93f569cb8affe9f97fc3c0aa9e66.tar.gz
bitbake: tinfoil: Track data during finalizeData
finalizeData changes the value of variables, so, it needs to have data tracking enabled to get a full and accurate variable value history. Fixes [YOCTO #15652] (Bitbake rev: 228979b506f7d0e24c643440bcc7becf684da283) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/tinfoil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 60359a1a38..f48baeb334 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -662,7 +662,8 @@ class Tinfoil:
662 """ 662 """
663 Run anonymous functions and expand keys 663 Run anonymous functions and expand keys
664 """ 664 """
665 return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle') 665 with self._data_tracked_if_enabled():
666 return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle')
666 667
667 def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None): 668 def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None):
668 """ 669 """