From 0a56d83d3d8d6369b350ec2810752b683a4a1a3e Mon Sep 17 00:00:00 2001 From: Casey Marshall Date: Thu, 1 Sep 2016 14:23:36 -0500 Subject: Add snap packaging. This adds [snap](https://snapcraft.io) packaging to the project. See the link for more information on snaps. Snap packages install on all Linux distributions. On Ubuntu, snap confinement with apparmor and seccomp provide an additional layer of security. This snap sets up monerod as a systemd service, which should start immediately on install. To access the wallet CLI, simply run `monero` (/snap/bin/monero). I think it's a really quick & easy way to get started with monero. I've made some opinionated decisions in the packaging just to kick this off, but I'm happy to iterate on this stuff. --- contrib/snap/wallet.bash | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 contrib/snap/wallet.bash (limited to 'contrib/snap/wallet.bash') diff --git a/contrib/snap/wallet.bash b/contrib/snap/wallet.bash new file mode 100755 index 000000000..04aa6c525 --- /dev/null +++ b/contrib/snap/wallet.bash @@ -0,0 +1,6 @@ +#!/bin/bash -e + +export HOME=${SNAP_USER_DATA} +cd ${SNAP_USER_DATA} + +exec ${SNAP}/usr/bin/rlwrap ${SNAP}/bin/monero-wallet-cli "$@" -- cgit v1.2.3 From 823843eadb38ab84cac55d260c9394565af2a3dd Mon Sep 17 00:00:00 2001 From: Casey Marshall Date: Sun, 11 Sep 2016 18:14:38 -0500 Subject: Fix portability issues discovered with fresh snap install. ARCH=native fixes SIGILL issues on other amd64 processors. Static library dependencies where supported. Package libunbound2 in the snap. --- contrib/snap/wallet.bash | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/snap/wallet.bash') diff --git a/contrib/snap/wallet.bash b/contrib/snap/wallet.bash index 04aa6c525..004f1371e 100755 --- a/contrib/snap/wallet.bash +++ b/contrib/snap/wallet.bash @@ -1,5 +1,6 @@ #!/bin/bash -e +export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu export HOME=${SNAP_USER_DATA} cd ${SNAP_USER_DATA} -- cgit v1.2.3