Skip to content

Commit

Permalink
fixed cdx generation for livebuild/deb
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneemann committed Mar 28, 2024
1 parent 61d4b76 commit e88d09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_sbom
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ if ($format eq 'spdx') {
$intoto_type = 'https://cyclonedx.org/bom';
$doc = cyclonedx_encode_header($subjectname);
for my $p (@$pkgs) {
push @{$doc->{'components'}}, cyclonedx_encode_pkg($p, $distro);
push @{$doc->{'components'}}, cyclonedx_encode_pkg($p, $distro, $pkgtype);
}
if ($dist && %$dist) {
push @{$doc->{'components'}}, cyclonedx_encode_dist($dist);
Expand Down

0 comments on commit e88d09f

Please sign in to comment.