summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-11 17:49:01 -0400
committerKali Kaneko <kali@leap.se>2016-04-11 17:49:01 -0400
commit5fc9a8c68216bcdd7a4d847e75bac428aafda5e4 (patch)
treef3285e2cde3819a9bcde074f098e081abdbf511d /pkg/pyinst
parent977f594510b70c7f0d1c99d1d77c188ff6ba8e37 (diff)
[bug] hash the installed binaries
this was the cause for the previous alpha releases keep insisting on re-installing the helper files. - Resolves: #7989 - Releases: 0.9.2
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/pyinst-build.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/pyinst/pyinst-build.mk b/pkg/pyinst/pyinst-build.mk
index 16737ead..348395cc 100644
--- a/pkg/pyinst/pyinst-build.mk
+++ b/pkg/pyinst/pyinst-build.mk
@@ -3,7 +3,11 @@ freeze-ver:
sed -i 's/^version_version\(.*\)/version_version = "$(NEXT_VERSION)"/' src/leap/bitmask/_version.py
sed -i 's/^full_revisionid\(.*\)/full_revisionid = "$(GIT_COMMIT)"/' src/leap/bitmask/_version.py
-pyinst: freeze-ver
+hash-binaries:
+ # TODO get from a build dir
+ OPENVPN_BIN=/usr/sbin/openvpn BITMASK_ROOT=pkg/linux/bitmask-root python setup.py hash_binaries
+
+pyinst: freeze-ver hash-binaries
pyinstaller -y pkg/pyinst/bitmask.spec
reset-ver: