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

WIP: Try to make the firmware build reproducible #39

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented May 11, 2023

Changes:

  • Use --remap-path-prefix
  • Enable strip=true
  • Pin rust version in rust-toolchain.toml

Status:

  • Use --remap-path-prefix. Currently need to manually patch the binary
  • See if strip = true does anything useful for us. I can see it strips the ELF binary but UF2 conversion already gets rid of most(all?) of that
  • Building twice on the same machine yields the same binaries
  • Reproduce between Github Actions and locally built
  • Still runs well
  • Document how to build and how to compare

@JohnAZoidberg JohnAZoidberg changed the title WIP: Try to make the build reproducible WIP: Try to make the firmware build reproducible May 11, 2023
@JohnAZoidberg
Copy link
Member Author

Works
image

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