From 32f49b44b06315b146e599c3d3c31e8c9cfdd64e Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 15 Mar 2022 09:44:46 -0700 Subject: [PATCH] Modify snap to use pre-compiled static binaries --- snap/snapcraft.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 46fb373ff..91bd3da74 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -64,13 +64,12 @@ layout: parts: one: - plugin: make - source: . - build-packages: - - build-essential - - libc++-dev - make-parameters: - - CXX=g++ + source: ./ + plugin: dump + organize: + zerotier-one : usr/sbin/zerotier-one + zerotier-cli : usr/sbin/zerotier-cli + zerotier-idtool : usr/sbin/zerotier-idtool filesets: binaries: - usr/sbin/zerotier-one