DEBSBOM-REPACK(1)

πŸ“¦ version 0.9.0, in ubuntu stonking

πŸ’– DEBSBOM-REPACK(1) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about debsbom-repack β€” it's the repack command from the debsbom suite, and it's literally out here giving main character energy ✨


✨ NAME ✨

debsbom-repack β€” the 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 πŸ’…

So what it does is: it takes the files you already downloaded and repacks them into one uniform source archive, merging all the referenced source packages into a single archive and optionally applying patches. obsessed. The layout of that source archive is controlled by the format argument. And here's the cute part β€” if an input SBOM is provided and data is being passed via stdin, then only the packages passed via stdin get resolved and updated in the final SBOM. selective, iconic, we love to see it ✨

Note: ngl bestie, the files have to be downloaded first, and they need to already be sitting in the directory specified by dldir. no downloads = no repack, that's the vibe check 😭

πŸ‘‘ OPTIONS πŸ‘‘

πŸ“ Positional Arguments

  • bomin β€” the sbom file(s) to process for 'bomin'. Use - to read from stdin 🫢
  • bomout β€” sbom output file. Use - to write to stdout πŸ’«

🌈 Named Arguments

  • -t, --sbom-type β€” SBOM type to process (default: auto-detect), and it's 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. so like, reproducible by default, fr fr πŸ•°οΈ
  • --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-generate(1), debsbom-download(1)


🧚 DEBSBOM 🧚

Part of the debsbom(1) suite. πŸ’–

✍️ Author

Christoph Steiger, Felix Moessbauer

2025, Siemens


mwah πŸ’‹ that's the whole page bestie. this one lives in debsbom, dated Jul 28, 2026 β€” go forth and repack, you absolute legend πŸ‘‘βœ¨

πŸ“¦ where this page comes from