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

Packaging through WhiteBeam installer produces incorrect hash file #28

Open
noproto opened this issue Oct 13, 2021 · 1 comment
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@noproto
Copy link
Collaborator

noproto commented Oct 13, 2021

The resulting .SHA256 file produced by cargo run package contains a relative path to the WhiteBeam package, which will produce an error when run through sha256sum -c (or equivalent command).

Erroneous output:

$ cat WhiteBeam_0.2.6_aarch64.SHA256
e192e16265df05403a7aaa544234f74bf7f1957ada5ac7042b06ff1bbe78ddb6  ./target/release/WhiteBeam_0.2.6_aarch64.tar.gz

Expected output:

$ cat WhiteBeam_0.2.6_aarch64.SHA256
e192e16265df05403a7aaa544234f74bf7f1957ada5ac7042b06ff1bbe78ddb6  WhiteBeam_0.2.6_aarch64.tar.gz

Needed for reproducible builds.

@noproto noproto added bug Something isn't working good first issue Good for newcomers labels Oct 13, 2021
@noproto
Copy link
Collaborator Author

noproto commented Oct 14, 2021

Relevant lines:

"sha256sum ",
"./target/release/{}.tar.gz > ./target/release/{}.SHA256;"), package_name, package_name, package_name);

SantiagoPassafiume added a commit to SantiagoPassafiume/WhiteBeam that referenced this issue Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant