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

reproducible build for Android apk #7263

Merged
merged 3 commits into from Jun 10, 2021

Conversation

SomberNight
Copy link
Member

@SomberNight SomberNight commented Apr 30, 2021

This attempts to make the Android build process reproducible.

TODOs:

before-merge TODOs:

  • buildozer.spec: change "log_level" back to "1"
  • submodules: transfer SomberNight/electrum-kivy-atlas to spesmilo
  • contrib/android/Readme.md: change fresh_clone instructions to clone from spesmilo

related: #5839

Uses the instructions from kivy/python-for-android#2390 (comment)

Changes for buildozer:

Changes for python-for-android:

@SomberNight
Copy link
Member Author

Status:
I am comparing builds between an Ubuntu 20.04 VM and a rolling Manjaro VM.

  • the release-unsigned binaries are byte-identical
  • the debug binaries are almost identical; except the apk/zip orders files differently
  • I haven't tested signed release binaries yet.

@ecdsa
Copy link
Member

ecdsa commented May 1, 2021

great work.
why do you suggest to wait until the 4.2.0 release?

@SomberNight
Copy link
Member Author

We can have it in the next patch release unless we need to do an emergency release before it is ready.
Otherwise, there is no reason to delay it of course.

@SomberNight SomberNight marked this pull request as ready for review June 9, 2021 16:36
@SomberNight SomberNight modified the milestones: 4.2.0, 4.1.3 Jun 9, 2021
@SomberNight SomberNight merged commit c43896f into spesmilo:master Jun 10, 2021
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants