diff mbox series

lib/oe/sbom30.py: Fix build parameters

Message ID 20240903154224.1697616-1-JPEWhacker@gmail.com
State Accepted, archived
Commit 61afc6322c9b8664de4f32b629c6e6ade775aeba
Headers show
Series lib/oe/sbom30.py: Fix build parameters | expand

Commit Message

Joshua Watt Sept. 3, 2024, 3:42 p.m. UTC
The property to specify the build parameters is `build_parameters` not
just `parameters`

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/lib/oe/sbom30.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py
index 2cea56ac3e6..76bfb752ef1 100644
--- a/meta/lib/oe/sbom30.py
+++ b/meta/lib/oe/sbom30.py
@@ -782,7 +782,7 @@  class ObjectSet(oe.spdx30.SHACLObjectSet):
                 if not isinstance(value, str):
                     continue
 
-                build.parameters.append(
+                build.build_parameters.append(
                     oe.spdx30.DictionaryEntry(key=varname, value=value)
                 )