summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-05-01 17:10:39 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-03 11:06:52 +0200
commit0cc95f1df0641606f0173226e6f1b9f44112f962 (patch)
tree45bb214c51b84a7f1e0c307571f93cb3d10f5416 /pkg/pyinst
parenta295b63d59275ccef839d349d6d92a2cb8ee33b7 (diff)
[bug] include bitmask_helpers into the frozen binary
The bundled version of bitmask is unable to find the bitmask_helpers binary. Let's include it as part of the frozen binary generated by pyinstaller. - Resolves: #8862
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/build.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 554009dd..760f7983 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -26,6 +26,13 @@ bundle_gpg:
mkdir -p $(DIST_VERSION)/apps/mail
cp /usr/bin/gpg $(DIST_VERSION)/apps/mail/
+bundle_linux_helpers:
+ mkdir -p $(DIST_VERSION)/apps/helpers
+ cp src/leap/bitmask/vpn/helpers/linux/bitmask-root $(DIST_VERSION)/apps/helpers/
+ cp src/leap/bitmask/vpn/helpers/linux/se.leap.bitmask.bundle.policy $(DIST_VERSION)/apps/helpers/
+
+bundle_apps: bundle_gpg bundle_linux_helpers
+
bundle_tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)