Skip to content

reproducible build for Android apk - #7263

Merged
SomberNight merged 3 commits into
spesmilo:masterfrom
SomberNight:202104_android
Jun 10, 2021
Merged

reproducible build for Android apk#7263
SomberNight merged 3 commits into
spesmilo:masterfrom
SomberNight:202104_android

Conversation

@SomberNight

@SomberNight SomberNight commented Apr 30, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
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

ecdsa commented May 1, 2021

Copy link
Copy Markdown
Member

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

@SomberNight

Copy link
Copy Markdown
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
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.

2 participants