From 7fb7bec3ec1c214500148962959229b7c2b203f6 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 15 Nov 2018 15:37:03 -0200 Subject: [PATCH] Install disorderfs and sort build filesystem before building This will enable Briar to build deterministically and works around an Android build tools bug. --- metadata/org.briarproject.briar.android.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/metadata/org.briarproject.briar.android.txt b/metadata/org.briarproject.briar.android.txt index 0aba290481..b814606b5c 100644 --- a/metadata/org.briarproject.briar.android.txt +++ b/metadata/org.briarproject.briar.android.txt @@ -34,22 +34,16 @@ Build:1.0.1,10001 Build:1.1.5,10105 commit=release-1.1.5 subdir=briar-android + sudo=apt-get update && \ + apt-get install -y disorderfs + init=cd ../.. && \ + mv org.briarproject.briar.android org.briarproject.briar.android.build && \ + mkdir org.briarproject.briar.android && \ + disorderfs --sort-dirents=yes --reverse-dirents=no org.briarproject.briar.android.build org.briarproject.briar.android gradle=official rm=bramble-java,briar-headless -Maintainer Notes: -This app should be build reproducible, because upstream wants to use its own signature. - -Until we can build the latest version, all else go to the archive directly. - -Upstream issue for F-Droid inclusion: -https://code.briarproject.org/akwizgran/briar/issues/1035 - -Upstream issue for general reproducible builds: -https://code.briarproject.org/akwizgran/briar/issues/1273 -. - -Archive Policy:0 versions +Archive Policy:3 versions Auto Update Mode:Version release-%v Update Check Mode:Tags Current Version:1.1.5