Skip to content

WIP: Try to make the firmware build reproducible - #39

Draft
JohnAZoidberg wants to merge 19 commits into
mainfrom
reproducible-builds
Draft

WIP: Try to make the firmware build reproducible#39
JohnAZoidberg wants to merge 19 commits into
mainfrom
reproducible-builds

Conversation

@JohnAZoidberg

@JohnAZoidbergJohnAZoidberg commented May 11, 2023

Copy link
Copy Markdown
Member

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

@JohnAZoidbergJohnAZoidberg changed the title WIP: Try to make the build reproducibleWIP: Try to make the firmware build reproducibleMay 11, 2023
@JohnAZoidberg

Copy link
Copy Markdown
MemberAuthor

Works
image

Sign up for freeto 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

@JohnAZoidberg