On Mon, Sep 25, 2023 at 9:29 AM Richard Purdie <
[email protected]> wrote:

> This message can appear in do_rootfs and the users tend to think this is
> some kind of packaging issue. Add SPDX to the message so users like me
> think in the right direction.
>

This user definitely did!

Although hard to trigger, I know this will save a poor soul some time if
they do manage to hit the condition.

Bruce



>
> Signed-off-by: Richard Purdie <[email protected]>
> ---
>  meta/classes/create-spdx-2.2.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/create-spdx-2.2.bbclass
> b/meta/classes/create-spdx-2.2.bbclass
> index 885f07a1f87..3ee1b7ee0d8 100644
> --- a/meta/classes/create-spdx-2.2.bbclass
> +++ b/meta/classes/create-spdx-2.2.bbclass
> @@ -1031,7 +1031,7 @@ def combine_spdx(d, rootfs_name, rootfs_deploydir,
> rootfs_spdxid, packages, spdx
>
>      for name in sorted(packages.keys()):
>          if name not in providers:
> -            bb.fatal("Unable to find provider for '%s'" % name)
> +            bb.fatal("Unable to find SPDX provider for '%s'" % name)
>
>          pkg_name, pkg_hashfn = providers[name]
>
> --
> 2.39.2
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188190): 
https://lists.openembedded.org/g/openembedded-core/message/188190
Mute This Topic: https://lists.openembedded.org/mt/101573796/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to