[OE-core][whinlatter 10/11] Revert "populate_sdk_ext: keep SDK_TARGETS so SPDX/SBOM tasks remain in locked sigs"

Yoann Congal
2026-01-07T08:09:32Z

From: Yoann Congal <yoann.congal@smile.fr>

This reverts commit 9964fa3da2fa1e7243fba1a826e59f7bb1813706.
This commit was not in master before landing in whinlatter.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/classes-recipe/populate_sdk_ext.bbclass | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index 2838ca1a03..2859320ddf 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -460,15 +460,6 @@ def prepare_locked_cache(d, baseoutpath, derivative, conf_initpath):

# Filter the locked signatures file to just the sstate tasks we are interested in
excluded_targets = get_sdk_install_targets(d, images_only=True)
- sdk_targets = d.getVar('SDK_TARGETS')
- ext_sdk_target_set = set(multilib_pkg_extend(d, sdk_targets).split())
- excluded_set = set(excluded_targets.split())
-
- # Ensure SDK_TARGETS and their image SPDX/SBOM tasks are included in the locked signatures,
- # as they are required during eSDK installation.
- filtered_excluded_set = excluded_set - ext_sdk_target_set
- excluded_targets = ' '.join(filtered_excluded_set)
-
sigfile = d.getVar('WORKDIR') + '/locked-sigs.inc'
lockedsigs_pruned = baseoutpath + '/conf/locked-sigs.inc'
#nativesdk-only sigfile to merge into locked-sigs.inc