diff options
Diffstat (limited to 'meta/classes-recipe/populate_sdk_ext.bbclass')
| -rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index 2859320ddf..2838ca1a03 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass | |||
| @@ -460,6 +460,15 @@ def prepare_locked_cache(d, baseoutpath, derivative, conf_initpath): | |||
| 460 | 460 | ||
| 461 | # Filter the locked signatures file to just the sstate tasks we are interested in | 461 | # Filter the locked signatures file to just the sstate tasks we are interested in |
| 462 | excluded_targets = get_sdk_install_targets(d, images_only=True) | 462 | excluded_targets = get_sdk_install_targets(d, images_only=True) |
| 463 | sdk_targets = d.getVar('SDK_TARGETS') | ||
| 464 | ext_sdk_target_set = set(multilib_pkg_extend(d, sdk_targets).split()) | ||
| 465 | excluded_set = set(excluded_targets.split()) | ||
| 466 | |||
| 467 | # Ensure SDK_TARGETS and their image SPDX/SBOM tasks are included in the locked signatures, | ||
| 468 | # as they are required during eSDK installation. | ||
| 469 | filtered_excluded_set = excluded_set - ext_sdk_target_set | ||
| 470 | excluded_targets = ' '.join(filtered_excluded_set) | ||
| 471 | |||
| 463 | sigfile = d.getVar('WORKDIR') + '/locked-sigs.inc' | 472 | sigfile = d.getVar('WORKDIR') + '/locked-sigs.inc' |
| 464 | lockedsigs_pruned = baseoutpath + '/conf/locked-sigs.inc' | 473 | lockedsigs_pruned = baseoutpath + '/conf/locked-sigs.inc' |
| 465 | #nativesdk-only sigfile to merge into locked-sigs.inc | 474 | #nativesdk-only sigfile to merge into locked-sigs.inc |
