[Lunar-commits] <moonbase-other> libvirt: run guests under user qemu with access to /dev/kvm
Stefan Wold
ratler at lunar-linux.org
Sun Feb 23 19:33:37 CET 2014
commit d18f6892b65a68daf5056163b67d7da53d60f61c
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 23 Feb 2014 07:44:31 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/d18f6892b65a68daf5056163b67d7da53d60f61c
libvirt: run guests under user qemu with access to /dev/kvm
---
virtual/libvirt/BUILD | +2/-0
virtual/libvirt/DEPENDS | +1/-1
2 files changed, 3 insertions(+), 1 deletion(-)
--- a/virtual/libvirt/BUILD
+++ b/virtual/libvirt/BUILD
@@ -11,4 +11,6 @@ OPTS+=" --without-xen \
--with-yajl \
--with-init-script=none"
+add_priv_user qemu:qemu -G kvm &&
+
default_build
--- a/virtual/libvirt/DEPENDS
+++ b/virtual/libvirt/DEPENDS
@@ -13,7 +13,7 @@ depends yajl
optional_depends avahi "--with-avahi" "--without-avahi" "for avahi support"
optional_depends gnutls "--with-gnutls" "--without-gnutls" "for GNUTLS encryption support"
optional_depends attr "--with-attr" "--without-attr" "for extended fs attributes support"
-optional_depends qemu "--with-qemu --with-qemu-user=nobody --with-qemu-group=nogroup" \
+optional_depends qemu "--with-qemu --with-qemu-user=qemu --with-qemu-group=qemu" \
"--without-qemu" \
"for QEMU support"
optional_depends dbus "--with-dbus" "--without-dbus" "for DBUS support"
More information about the Lunar-commits
mailing list