public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: steve@sakoman.com, openembedded-core@lists.openembedded.org,
	Yoann Congal <yoann.congal@smile.fr>,
	"Jayasurya, Maganuru" <maganuru.jayasurya@windriver.com>
Cc: paul@pbarker.dev, Joshua Watt <JPEW.hacker@gmail.com>
Subject: Re: [OE-core][whinlatter 18/18] populate_sdk_ext: keep SDK_TARGETS so SPDX/SBOM tasks remain in locked sigs
Date: Tue, 6 Jan 2026 16:30:25 -0500	[thread overview]
Message-ID: <b7923b2d-98df-4a16-b8a0-8d99035cedc5@windriver.com> (raw)
In-Reply-To: <9964fa3da2fa1e7243fba1a826e59f7bb1813706.1766352840.git.steve@sakoman.com>

[-- Attachment #1: Type: text/plain, Size: 3928 bytes --]

On 2025-12-21 4:37 p.m., Steve Sakoman via lists.openembedded.org wrote:
> From: Jayasurya Maganuru<Maganuru.Jayasurya@windriver.com>
>
> Fixes [YOCTO #15853]

Steve, Yoann, and others,

This commit as well as 17/18 made it into whinlatter before master.
Was that intentional ?

❯ git log   --oneline origin/whinlatter  ^master 
meta/classes-recipe/populate_sdk_ext.bbclass
9964fa3da2 (origin/whinlatter) populate_sdk_ext: keep SDK_TARGETS so 
SPDX/SBOM tasks remain in locked sigs

❯ git log   --oneline origin/whinlatter  ^master
9964fa3da2 (origin/whinlatter) populate_sdk_ext: keep SDK_TARGETS so 
SPDX/SBOM tasks remain in locked sigs
3f57280caa create-spdx-image-3.0: Image SPDX/SBOM tasks are retained for 
eSDK installation
7f02b3f811 cve-update: Avoid NFS caching issues

The patches has been sitting in master-next for a while since people
have some concerns about them, IIRC.

What do we do now, revert ?


Apologies for missing the review deadline.
Maybe next year, there should be a longer merge freeze around Xmas time
so that there's sufficient review.

../Randy



> The filtering in populate_sdk_ext.bbclass was removing all image targets from
> the locked signatures, including the main SDK images (SDK_TARGETS). As a
> result, their tasks including the image SPDX/SBOM tasks were not added to
> locked-sigs.inc.
>
> Without these entries, the eSDK lacked the necessary sstate, and the installer
> attempted to run the missing tasks during installation, leading to unexpected
> task execution errors.
>
> This patch keeps SDK_TARGETS (and their multilib variants) in the locked
> signatures so their SPDX/SBOM tasks are included. With those tasks in the
> sstate cache, the eSDK installs cleanly without needing to re-run anything.
>
> Signed-off-by: Jayasurya Maganuru<Maganuru.Jayasurya@windriver.com>
> Signed-off-by: Mathieu Dubois-Briand<mathieu.dubois-briand@bootlin.com>
> Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> (cherry picked from commit 920c5de570ec575a9eaccb105461394d9fa0f1db)
> Signed-off-by: Steve Sakoman<steve@sakoman.com>
> ---
>   meta/classes-recipe/populate_sdk_ext.bbclass | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> 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):
>   
>       # 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
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#228276):https://lists.openembedded.org/g/openembedded-core/message/228276
> Mute This Topic:https://lists.openembedded.org/mt/116893601/3616765
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [randy.macleod@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

-- 
# Randy MacLeod
# Wind River Linux

[-- Attachment #2: Type: text/html, Size: 5855 bytes --]

  reply	other threads:[~2026-01-06 21:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-21 21:36 [OE-core][whinlatter 00/18] Patch review Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 01/18] binutils: Fix CVE-2025-11494 Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 02/18] linux-yocto/6.12: update to v6.12.57 Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 03/18] linux-yocto/6.12: update CVE exclusions (6.12.57) Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 04/18] linux-yocto/6.12: update to v6.12.58 Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 05/18] linux-yocto/6.12: update CVE exclusions (6.12.58) Steve Sakoman
2025-12-21 21:36 ` [OE-core][whinlatter 06/18] linux-yocto/6.12: update to v6.12.59 Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 07/18] linux-yocto/6.12: update CVE exclusions (6.12.59) Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 08/18] linux-yocto/6.12: update to v6.12.60 Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 09/18] linux-yocto/6.12: update CVE exclusions (6.12.60) Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 10/18] go: upgrade 1.25.4 -> 1.25.5 Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 11/18] libssh2: fix regression in KEX method validation (GH-1553) Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 12/18] spdx30_tasks: Fix SPDX_CUSTOM_ANNOTATION_VARS implementation Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 13/18] cross.bbclass: Propagate dependencies to outhash Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 14/18] curl: Use host CA bundle by default for native(sdk) builds Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 15/18] xserver-nodm-init: avoid race condition related to udev Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 16/18] cve-update: Avoid NFS caching issues Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 17/18] create-spdx-image-3.0: Image SPDX/SBOM tasks are retained for eSDK installation Steve Sakoman
2025-12-21 21:37 ` [OE-core][whinlatter 18/18] populate_sdk_ext: keep SDK_TARGETS so SPDX/SBOM tasks remain in locked sigs Steve Sakoman
2026-01-06 21:30   ` Randy MacLeod [this message]
2026-01-06 22:37     ` Steve Sakoman
2026-01-06 23:01       ` Yoann Congal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b7923b2d-98df-4a16-b8a0-8d99035cedc5@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=JPEW.hacker@gmail.com \
    --cc=maganuru.jayasurya@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul@pbarker.dev \
    --cc=steve@sakoman.com \
    --cc=yoann.congal@smile.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox