summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-14 15:40:05 -0400
committerKali Kaneko <kali@leap.se>2016-04-15 11:53:46 -0400
commitc201029c3070da1bd9c2a7d65ac426e49f3cc241 (patch)
tree119e8f47a5d2795facb71265a6af41c06cc38508 /pkg/pyinst
parentb4de087fee85b7831b70cde31e7ed34f196a5ca9 (diff)
[pkg] ship statically built binaries
- mention the versions in the next relnotes - add the leap_thirdparty_build to gitignore. the build scripts are supposed to place the binaries here.
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/pyinst-build.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkg/pyinst/pyinst-build.mk b/pkg/pyinst/pyinst-build.mk
index b6a7a6f3..9120e7a1 100644
--- a/pkg/pyinst/pyinst-build.mk
+++ b/pkg/pyinst/pyinst-build.mk
@@ -4,8 +4,7 @@ freeze-ver:
sed -i 's/^full_revisionid\(.*\)/full_revisionid = "$(GIT_COMMIT)"/' src/leap/bitmask/_version.py
hash-binaries:
- # TODO get from a build dir
- OPENVPN_BIN=/usr/sbin/openvpn BITMASK_ROOT=pkg/linux/bitmask-root python setup.py hash_binaries
+ OPENVPN_BIN=$(LEAP_BUILD_DIR)openvpn BITMASK_ROOT=pkg/linux/bitmask-root python setup.py hash_binaries
pyinst: freeze-ver hash-binaries
pyinstaller -y pkg/pyinst/bitmask.spec
@@ -47,14 +46,12 @@ pyinst-distribution-data:
pyinst-linux-helpers:
mkdir -p $(DIST_VERSION)apps/eip/files
- # TODO compile static
- cp /usr/sbin/openvpn $(DIST_VERSION)apps/eip/files/leap-openvpn
+ cp $(LEAP_BUILD_DIR)openvpn $(DIST_VERSION)apps/eip/files/leap-openvpn
cp pkg/linux/bitmask-root $(DIST_VERSION)apps/eip/files/
cp pkg/linux/leap-install-helper.sh $(DIST_VERSION)apps/eip/files/
cp pkg/linux/polkit/se.leap.bitmask.bundle.policy $(DIST_VERSION)apps/eip/files/
mkdir -p $(DIST_VERSION)apps/mail
- # TODO compile static
- cp /usr/bin/gpg $(DIST_VERSION)apps/mail
+ cp $(LEAP_BUILD_DIR)gpg $(DIST_VERSION)apps/mail
pyinst-tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)