tMake generated .app deterministic - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7e6fba0513b6a8db0a0546e8184f7d7a66008585 DIR parent 71c5e4f6bcfcfbf8944b1a1d84693a1a65b694bd HTML Author: Johann Bauer <bauerj@bauerj.eu> Date: Tue, 13 Mar 2018 23:38:43 +0100 Make generated .app deterministic Diffstat: M contrib/build-osx/make_osx | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/build-osx/make_osx b/contrib/build-osx/make_osx t@@ -77,6 +77,13 @@ fail "Could not install hardware wallet requirements" info "Building $PACKAGE..." python3 setup.py install --user > /dev/null || fail "Could not build $PACKAGE" +info "Faking timestamps..." +for d in ~/Library/Python/ ~/.pyenv .; do + pushd $d + find . -exec touch -t '200101220000' {} + + popd +done + info "Building binary" pyinstaller --noconfirm --ascii --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"