You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HOWTO/SBOM.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,10 @@ Fields summary:
234
234
To update the package, perform any modifications in a `vendor.info` package
235
235
and re-run the source SBOM generation steps ([Erlang/OTP source SBOM]).
236
236
237
+
If the vendor package is optional, the `create_vendor_relations()` function in the `.github/scripts/otp-compliance.es` script needs to be updated to add the `OPTIONAL_COMPONENT_OF` relation for the package.
238
+
239
+
For vendor packages in `erts`, `erlang:system_info(embedded_3pps)` (`erts/emulator/beam/erl_bif_info.c`) also needs to be updated. The 3pp should be part of either the value for the `included` key (the build includes the 3pp) or the `excluded` key (the build does not include the 3pp). If the package is optional, the build should automatically place it as part of the value of the correct key.
240
+
237
241
### Add a New Vendor Dependency
238
242
239
243
Follow the same steps as in [Update SPDX Vendor Packages].
0 commit comments