aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/lxd/APKBUILD6
-rw-r--r--testing/lxd/lxd.pre-install5
2 files changed, 8 insertions, 3 deletions
diff --git a/testing/lxd/APKBUILD b/testing/lxd/APKBUILD
index 254501cb95..ae3e2ca089 100644
--- a/testing/lxd/APKBUILD
+++ b/testing/lxd/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=lxd
pkgver=2.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="a container hypervisor and a new user experience for LXC"
url="https://linuxcontainers.org/lxd/"
arch="all"
license="Apache-2.0"
-depends="acl xz netcat-openbsd cgmanager"
+depends="acl xz netcat-openbsd cgmanager squashfs-tools rsync"
depends_dev=""
makedepends="$depends_dev lxc-dev protobuf-dev rsync go gettext-dev"
-install=""
+install="$pkgname.pre-install"
subpackages=""
source="https://linuxcontainers.org/downloads/lxd/lxd-$pkgver.tar.gz
lxd.confd
diff --git a/testing/lxd/lxd.pre-install b/testing/lxd/lxd.pre-install
new file mode 100644
index 0000000000..5dedf7c575
--- /dev/null
+++ b/testing/lxd/lxd.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S lxd 2>/dev/null
+
+exit 0