From 159a49f35a2b93f569cb8affe9f97fc3c0aa9e66 Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Sat, 15 Mar 2025 00:52:14 +0100 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/tinfoil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb') 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: """ Run anonymous functions and expand keys """ - return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle') + with self._data_tracked_if_enabled(): + return self._reconvert_type(self.run_command('finalizeData'), 'DataStoreConnectionHandle') def parse_recipe_file(self, fn, appends=True, appendlist=None, config_data=None): """ -- cgit v1.2.3-54-g00ecf