1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

spdx30_tasks: fix condition in create_spdx

Considering that *detail* is an actual variable, not a string, remove the
quotes to make the 'in' statement coherent.

(From OE-Core rev: 8071a93c6b619dc9fcc2a7f1bcf94994499defbe)

Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
Reviewed-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
João Marcos Costa (Schneider Electric)
2026-04-02 11:34:44 +02:00
committed by Paul Barker
parent 0b73ea395b
commit 1f07faf3dc
+1 -1
View File
@@ -535,7 +535,7 @@ def create_spdx(d):
# specified.
if (
include_vex != "all"
and "detail" in ("fixed-version", "cpe-stable-backport")
and detail in ("fixed-version", "cpe-stable-backport")
):
bb.debug(1, "Skipping %s since it is already fixed upstream" % cve_id)
continue