Message ID | 20241122154918.2133799-1-JPEWhacker@gmail.com |
---|---|
State | New |
Headers | show |
Series | lib: sbom30: Fix build parameters | expand |
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index e3a9428668e..8433637de80 100644 --- a/meta/lib/oe/sbom30.py +++ b/meta/lib/oe/sbom30.py @@ -786,7 +786,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet): if not isinstance(value, str): continue - build.build_parameters.append( + build.build_parameter.append( oe.spdx30.DictionaryEntry(key=varname, value=value) )
Fixes the build parameters code, since the build_parameter property was changed to be singular in SPDX 3.0.1 Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- meta/lib/oe/sbom30.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)