From: "Yoann Congal" <yoann.congal@smile.fr>
To: <yocto@lists.yoctoproject.org>, <Anders.Montonen@iki.fi>
Subject: Re: [yocto] SPDX 3 generation broken in Scarthgap?
Date: Wed, 21 Oct 2026 15:23:31 +0200 [thread overview]
Message-ID: <DMAJRR6BI0FD.3B80P4GKCPQVI@smile.fr> (raw)
In-Reply-To: <2EEE7A6A-9A4F-40D4-983B-911F65FD959C@iki.fi>
On Wed Oct 21, 2026 at 2:01 PM CEST, Anders Montonen via lists.yoctoproject.org wrote:
> Hi,
>
>> On 20. Oct 2026, at 21.18, Yoann Congal <yoann.congal@smile.fr> wrote:
>>
>> Hello,
>>
>> On Tue Oct 20, 2026 at 7:08 PM CEST, Anders Montonen via lists.yoctoproject.org <http://lists.yoctoproject.org/> wrote:
>>> 1. Clone the scarthgap branch of the poky repository (HEAD and 5.0.20 seems to work identically)
>>> 2. Run "source oe-init-build-env"
>>> 3. Add the lines listed in the documentation to local.conf:
>>> INHERIT_DISTRO:remove = "create-spdx"
>>> INHERIT_DISTRO:append = " create-spdx-3.0”
>>> 4. Run “bitbake -k core-image-minimal”
>>
>> This is the SPDX30Check.test_core_image_minimal testcase that runs as
>> part of the regular oe-selftest builds: eg:
>> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/4875/steps/18/logs/stdio (line 1764)
>>
>> But the test does not use INHERIT_DISTRO but :
>> INHERIT:remove = "create-spdx"
>> INHERIT += "create-spdx-3.0"
>>
>> I think this is an issue because the poky DISTRO adds create-spdx to
>> INHERIT (not INHERIT_DISTRO) in poky.conf. This means that in your
>> config you have both create-spdx and create-spdx-3.0 in INHERIT, and
>> that would explain the below issue.
>>
>> Does changing to INHERIT modification fixes you issue?
>
> That did the trick, thank you.
Good news!
> I see that there’s a difference in the
> documentation between the “Creating a Software Bill of Materials”
> chapter in the development tasks manual, and the documentation for the
> create-spdx class. The development tasks manual uses “INHERIT_DISTRO”,
> while the class documentation just uses “INHERIT”.
Could you contribute the yocto-docs patch to fix that?
Thanks!
--
Yoann Congal
Smile ECS
prev parent reply other threads:[~2026-10-21 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 17:08 SPDX 3 generation broken in Scarthgap? Anders Montonen
2026-10-20 18:18 ` [yocto] " Yoann Congal
2026-10-21 12:01 ` Anders Montonen
2026-10-21 13:23 ` Yoann Congal [this message]
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=DMAJRR6BI0FD.3B80P4GKCPQVI@smile.fr \
--to=yoann.congal@smile.fr \
--cc=Anders.Montonen@iki.fi \
--cc=yocto@lists.yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.