Skip to content

SPDX: use PKG_%s instead of PKG:%s and clean up CPE reference type#8

Draft
Enkas1 wants to merge 3 commits intoWind-River:mainfrom
Enkas1:spdx-fix-pkg-underscore
Draft

SPDX: use PKG_%s instead of PKG:%s and clean up CPE reference type#8
Enkas1 wants to merge 3 commits intoWind-River:mainfrom
Enkas1:spdx-fix-pkg-underscore

Conversation

@Enkas1
Copy link

@Enkas1 Enkas1 commented Aug 8, 2025

Depends on #7

This change simplifies referenceType field by removing full URL; now just "cpe23Type".
Updates variable access from PKG:%s to PKG_%s for BitBake compatibility.
Cleans up fatal error logs by removing redundant PN display.

Enkas1 and others added 3 commits August 8, 2025 11:49
Change from : to _ 
-            pkg_name = d.getVar("PKG:%s" % package) or package
+           pkg_name = d.getVar("PKG_%s" % package) or package
@Enkas1 Enkas1 mentioned this pull request Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant