Commit Graph

8 Commits

Author SHA1 Message Date
Brian L. McMichael
a1132b7b74 Allow ipfs-cluster-ctl to access files
In the snap-installed distribution, calls like `ipfs-cluster-ctl add myfile.txt` fail with error `Error: open myfile.txt: permission denied` due to strict confinement to files in the /snap folder. Modifying confinement to `classic` will allow access to files elsewhere on the system.

License: MIT
Signed-off-by: brianmcmichael <brian@brianmcmichael.com>
2018-10-16 17:43:47 -04:00
Hector Sanjuan
ca50393100 Snap build fixes. Re-enable multiarch builds.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 15:46:30 +02:00
Hector Sanjuan
b27ae72ef0 Update to go-1.11
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 12:03:08 +02:00
Leo Arias
980c812d20 Pass the multiarch environment variables 2017-11-16 07:05:19 +00:00
Leo Arias
bfdfe5e584
Get the snap version from git 2017-11-15 11:22:22 -06:00
Hector Sanjuan
18ff7a79cc cluster-service: Upstream snap patch
Snaps set a custom $HOME, but we were using /etc/passwd.
There might be other cases were using a custom $HOME might be
handy.

In UNIX systems, $HOME should be always set. For all the rest,
we fall back to the original os/user.HomeDir method.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-11-14 13:23:43 +01:00
Hector Sanjuan
ef86f718e7 Enable travis for snapcraft builds
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-11-14 01:12:36 +01:00
Leo Arias
4a45e5def5 Add the packaging metadata to build the ipfs-cluster snap 2017-11-13 16:43:48 +00:00