public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] lib/oe/sbom30.py: Fix build parameters
@ 2024-09-03 15:42 Joshua Watt
  0 siblings, 0 replies; only message in thread
From: Joshua Watt @ 2024-09-03 15:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joshua Watt

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 --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)
                 )
 
-- 
2.46.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-03 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 15:42 [OE-core][PATCH] lib/oe/sbom30.py: Fix build parameters Joshua Watt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox