packer/provisioner
Anurag Sharma 6e0db5c792
fix: exclude syft dependency import on NetBSD, OpenBSD, and Solaris (#13578)
The syft library has a transitive dependency on containerd, which includes
platform-specific code that doesn't compile on NetBSD, OpenBSD, and Solaris.

This change adds build constraints to exclude the syft import on these
platforms. The hcp-sbom provisioner functionality is unaffected since it
downloads and executes pre-built syft binaries at runtime rather than
using the Go library directly. The import exists solely for dependency
tracking in license and security scanning tools.
2026-03-26 10:09:45 +05:30
..
breakpoint [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00
file [COMPLIANCE] Update Copyright and License Headers 2025-11-30 18:32:15 +00:00
hcp-sbom fix: exclude syft dependency import on NetBSD, OpenBSD, and Solaris (#13578) 2026-03-26 10:09:45 +05:30
powershell Merge pull request #13539 from MBradbury/powershell-test-lastexitcode 2026-01-28 09:59:46 +05:30
shell [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00
shell-local [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00
sleep [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00
windows-restart [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00
windows-shell [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2025-12-11 07:02:12 +00:00