Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user provided Debian build script for non-reproducible build #77

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

yonhan3
Copy link
Collaborator

@yonhan3 yonhan3 commented Apr 16, 2024

No description provided.

Signed-off-by: Yongkui Han <yonhan@cisco.com>
@yonhan3 yonhan3 requested a review from edwarnicke April 16, 2024 21:23
@yonhan3
Copy link
Collaborator Author

yonhan3 commented Apr 16, 2024

This PR adds the capability to build a Debian package using a user-provided script file.

  1. A new --deb_build_script option is added to the bomsh_rebuild_deb.py script. This script will be run to build the Debian packages. This script should also copy the built *.deb files to the debs directory. It should also copy the source tarball files to the bomsh_logfiles directory. Then the bomsh_spdx_deb.py script is run to generate the SPDX files.
  2. An example script has been added as bomsh/scripts/bomsh-openosc-deb.sh file.
  3. Readme.md is updated with a new "Generating SPDX Docs" section.

The previous bomsh_rebuild_deb.py script only supports the reproducible Debian build from *.buildinfo file. With this new option, the bomsh_rebuild_deb.py script can support any Debian build, including non-reproducible build.

@yonhan3 yonhan3 merged commit 640b9ef into omnibor:main Apr 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant