aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvirt/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-01-10 10:41:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-01-10 10:42:36 +0000
commit25038632803727b7b8afee2cc844aa48ba37a29e (patch)
tree8bfc742130d913c5272be1aa57b648c040497df4 /main/libvirt/APKBUILD
parentb51f225d8039b34acf7474079601a9a413607b6d (diff)
downloadaports-25038632803727b7b8afee2cc844aa48ba37a29e.tar.gz
aports-25038632803727b7b8afee2cc844aa48ba37a29e.tar.bz2
aports-25038632803727b7b8afee2cc844aa48ba37a29e.tar.xz
main/libvirt: set qemu user and group
so we dont run qemu as root fixes #11117
Diffstat (limited to 'main/libvirt/APKBUILD')
-rw-r--r--main/libvirt/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index 6ebfe3305d..f848fc2fd3 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -2,7 +2,7 @@
pkgname=libvirt
pkgver=5.10.0
_ver="${pkgver/_rc/-rc}"
-pkgrel=0
+pkgrel=1
pkgdesc="A virtualization API for several hypervisor and container systems"
url="https://libvirt.org/"
arch="all"
@@ -74,7 +74,9 @@ build() {
--with-storage-fs \
--with-storage-lvm \
--enable-static \
- --with-qemu
+ --with-qemu \
+ --with-qemu-group=kvm \
+ --with-qemu-user=qemu
make
}