-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
61 lines (57 loc) · 1.41 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: spx
version: '6.8.0-67'
summary: Backup and disaster recovery for Linux virtual and physical machines
description: |
Unofficial SNAP for StorageCraft Shadow Protect SPX.
Backup and disaster recovery for Linux virtual and physical machines.
Virtualize your backups with Virtualbox, vSphere or Hyper-V.
https://www.storagecraft.com
grade: devel
confinement: classic
architectures:
- build-on: amd64
apps:
spx-agent:
daemon: notify
command: opt/StorageCraft/spx/bin/spx_service
plugs:
- desktop
- desktop-legacy
- wayland
- home
- network
- io-ports-control
- kernel-module-control
- mount-observe
- removable-media
- system-files
spx-gui:
command: opt/StorageCraft/spx/bin/spx_gui
plugs:
- desktop
- desktop-legacy
- wayland
- home
- network
- io-ports-control
- kernel-module-control
- mount-observe
- removable-media
- system-files
parts:
spx:
source: .
plugin: dump
override-build: |
apt update
apt install wget -y
wget https://downloads.storagecraft.com/spx/Ubuntu16.04/storagecraft-repo-latest.deb -O storagecraft-repo-latest.deb
dpkg -i storagecraft-repo-latest.deb
apt update
apt install spx -y
/usr/bin/gpasswd -a $USER spx
stage-packages:
- wget
- libhivex0
- libcrypto++9v5
- kpartx