snapd: remove snapd because the build fails (see #1188, #1595, #1618)

This commit is contained in:
Stefan 2017-09-10 07:44:13 +02:00 committed by GitHub
parent 9a62d2f8ad
commit 10fa2a7806
3 changed files with 0 additions and 105 deletions

View File

@ -93,57 +93,3 @@ Instructions
roles:
- rclone
```
## Installation with snap ##
### Quickstart ###
* install Snapd on your distro using the instructions below
* sudo snap install rclone --classic
* Run `rclone config` to setup. See [rclone config docs](/docs/) for more details.
See below for how to install snapd if it isn't already installed
#### Arch ####
sudo pacman -S snapd
enable the snapd systemd service:
sudo systemctl enable --now snapd.socket
#### Debian / Ubuntu ####
sudo apt install snapd
#### Fedora ####
sudo dnf copr enable zyga/snapcore
sudo dnf install snapd
enable the snapd systemd service:
sudo systemctl enable --now snapd.service
SELinux support is in beta, so currently:
sudo setenforce 0
to persist, edit `/etc/selinux/config` to set `SELINUX=permissive` and reboot.
#### Gentoo ####
Install the [gentoo-snappy overlay](https://github.com/zyga/gentoo-snappy).
#### OpenEmbedded/Yocto ####
Install the [snap meta layer](https://github.com/morphis/meta-snappy/blob/master/README.md).
#### openSUSE ####
sudo zypper addrepo https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy
sudo zypper install snapd
#### OpenWrt ####
Enable the snap-openwrt feed.

View File

@ -1,25 +0,0 @@
name: rclone-beta
version: rclone-latest
summary: rsync for cloud storage
description:
Rclone is a command line program to sync files to and from cloud storage providers such as
Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, OneDrive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files.
confinement: strict
grade: stable
apps:
rclone:
command: bin/rclone
plugs: [home, network, network-bind, fuse-support]
parts:
rclone:
plugin: go
source: https://github.com/ncw/rclone
source-type: git
stage-packages: [fuse]
build-packages: [gcc, libgudev-1.0-dev, fuse]
go-importpath: github.com/ncw/rclone
# Snapcraft's go plugin tries to build binaries for all dependencies, but rclone doesn't need them.
# This instruct it to only build rclone.
go-packages: [github.com/ncw/rclone]

View File

@ -1,26 +0,0 @@
name: rclone
version: 1.37
summary: rsync for cloud storage
description:
Rclone is a command line program to sync files to and from cloud storage providers such as
Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, OneDrive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files.
confinement: strict
grade: stable
apps:
rclone:
command: bin/rclone
plugs: [home, network, network-bind, fuse-support]
parts:
rclone:
plugin: go
source: https://github.com/ncw/rclone
source-tag: v1.37
source-type: git
stage-packages: [fuse]
build-packages: [gcc, libgudev-1.0-dev, fuse]
go-importpath: github.com/ncw/rclone
# Snapcraft's go plugin tries to build binaries for all dependencies, but rclone doesn't need them.
# This instruct it to only build rclone.
go-packages: [github.com/ncw/rclone]