diff options
Diffstat (limited to 'tools/sbom/generate-sbom-framework_res.py')
| -rw-r--r-- | tools/sbom/generate-sbom-framework_res.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sbom/generate-sbom-framework_res.py b/tools/sbom/generate-sbom-framework_res.py index d0d232d635..27f3d2ebc1 100644 --- a/tools/sbom/generate-sbom-framework_res.py +++ b/tools/sbom/generate-sbom-framework_res.py @@ -80,7 +80,8 @@ def main(): resource_file_spdxids = [] for file in layoutlib_sbom[sbom_writers.PropNames.FILES]: - if file[sbom_writers.PropNames.FILE_NAME].startswith('data/res/'): + file_path = file[sbom_writers.PropNames.FILE_NAME] + if file_path.startswith('data/res/') or file_path.startswith('data/overlays/'): resource_file_spdxids.append(file[sbom_writers.PropNames.SPDXID]) doc.relationships = [ |