DLPX-98654 [linux-pkg] Add syft/cyclonedx-cli packages - #414
Draft
justsanjeev wants to merge 3 commits into
Draft
Conversation
justsanjeev
force-pushed
the
dlpx/pr/justsanjeev/6f069b99-6732-4b07-be3b-2babb40c9467
branch
from
August 14, 2026 12:15
29ac079 to
958ddb5
Compare
prakashsurya
approved these changes
Aug 24, 2026
prakashsurya
left a comment
Contributor
There was a problem hiding this comment.
looks reasonable to me.. I presume, these repos follow the product's branch conventions (e.g. develop, release, etc.)?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Companion to DLPX-98637 (
delphix/syft) and DLPX-98638 (delphix/cyclonedx-cli) under theCP-13455 CycloneDX SBOM epic.
appliance-buildPR #892 (CP-13464) provisioned Syft andcyclonedx-cli by downloading pinned releases directly from
github.comat build time;review feedback flagged that as against convention. Design doc: DLPX-98618
(
appliance-build/docs/specs/2026-08-13-syft-cyclonedx-cli-provisioning-design.md).Problem
Syft and cyclonedx-cli need to be installed onto the appliance-build host (never inside the
shipped image) to generate and validate a CycloneDX SBOM for each built appliance. Neither
had a first-party
linux-pkgpackage, solinux-pkghad no way to provision them -- theywere fetched directly from
github.comatappliance-buildbuild time instead, which isinconsistent with how every other third-party build-host tool is provisioned in this org.
Solution
Add
syftandcyclonedx-clitomain.pkgs, each with apackages/<name>/config.shpointing
DEFAULT_PACKAGE_GIT_URLat the new first-party packaging repos(
delphix/syft,delphix/cyclonedx-cli) and callingdpkg_buildpackage_default, followingthe exact
delphix-go/host-jdkspattern. Both are listed only inmain.pkgs-- never inany appliance-build chroot package list -- so they stay build-host-only and are never
shipped inside the appliance image (see the comments added next to each in
main.pkgs).Testing Done
packages/syft/config.shandpackages/cyclonedx-cli/config.shfollow the same shape asthe existing
delphix-go/host-jdksconfig files, which already build successfully throughthis same
linux-pkgpath. The actual package builds (delphix-syft,delphix-cyclonedx-cli.debs) are exercised viadelphix/syft#1 anddelphix/cyclonedx-cli#1, which fetch andchecksum-verify their pinned upstream releases from Artifactory and have been validated
end-to-end there.