- trixie-backports 0.7.1-1~bpo13+1
- testing 0.7.1-1
- unstable 0.7.1-1
| DEBSBOM-REPACK(1) | debsbom | DEBSBOM-REPACK(1) |
NAME¶
debsbom-repack - debsbom repack command
SYNOPSIS¶
debsbom repack [-h] [-t {cdx,spdx}] [--compress {no,bzip2,gzip,xz,zstd,lz4}]
[--apply-patches] [--mtime MTIME] [--dldir DLDIR]
[--outdir OUTDIR]
[--format {standard-bom,standard-bom-package}] [--copy]
[--validate] [--sources] [--binaries]
bomin bomout
DESCRIPTION¶
Repack sources and sbom
Repacks the downloaded files into a uniform source archive, merging the referenced source packages into a single archive and optionally applying patches. The layout of the source archive is controlled by the 'format' argument. If an input SBOM is provided and data is passed via stdin, only the packages passed via stdin are resolved and updated in the final SBOM.
Note: The files have to be downloaded first and need to be in the directory specified by 'dldir'.
OPTIONS¶
Positional Arguments
Named Arguments
- -t, --sbom-type
- SBOM type to process (default: auto-detect), required when reading from
stdin
Possible choices: cdx, spdx
- --compress='gzip'
- compress merged tarballs (default: gzip)
Possible choices: no, bzip2, gzip, xz, zstd, lz4
- --apply-patches=False
- apply debian patches
- --mtime
- set mtime for creating tar archives in ISO 8601 format. If this option is not set, the timestamp from the most recent changelog entry is used for reproducible builds.
- --dldir='downloads'
- download directory from 'download'
- --outdir='packed'
- directory to repack into (default: 'packed')
- --format='standard-bom-package'
- Possible choices: standard-bom, standard-bom-package
- --copy=False
- copy artifacts into deploy tree instead of symlinking
- --validate=False
- validate generated SBOM (only for SPDX)
- --sources=False
- operate only on source packages (skip binaries)
- --binaries=False
- operate only on binary packages (skip sources)
SEE ALSO¶
DEBSBOM¶
Part of the debsbom(1) suite.
Author¶
Christoph Steiger, Felix Moessbauer
Copyright¶
2025, Siemens
| March 20, 2026 |