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

Generate and verify trace to debug the "digest did not match" issue #135

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nlewo
Copy link
Owner

@nlewo nlewo commented May 8, 2024

This option can to be set to debug digest mismatch issue. It generates
a trace a build time and the script image.verifyTrace. These traces
contains all file attribute written to the tar stream and the chechsum
of all file writter to the tar stream.

This could allow to identify differences because of the sandbox used
at build time while the Nix build sandbox is not used to run time,
when the image is pushed to a destination.

Also see the added scetion in the README for more information.

@nlewo nlewo mentioned this pull request May 8, 2024
This option can to be set to debug digest mismatch issue. It generates
a trace a build time and the script `image.verifyTrace`. These traces
contains all file attribute written to the tar stream and the chechsum
of all file writter to the tar stream.

This could allow to identify differences because of the sandbox used
at build time while the Nix build sandbox is not used to run time,
when the image is pushed to a destination.
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