qemu: update for the kvm system group in base-files-0.120.

This commit is contained in:
Juan RP 2015-03-22 09:32:23 +01:00
parent 33d781ff19
commit 15e36c6ec0
3 changed files with 3 additions and 6 deletions

View file

@ -1,6 +1,6 @@
To enable KVM your user must be added to the 'wheel' group: To enable KVM your user must be added to the 'kvm' group:
$ usermod -aG wheel <username> $ usermod -aG kvm <username>
Don't forget to load the appropiate KVM module for your CPU (x86 only): Don't forget to load the appropiate KVM module for your CPU (x86 only):

View file

@ -1 +0,0 @@
KERNEL=="kvm", GROUP="wheel", MODE="0660"

View file

@ -1,7 +1,7 @@
# Template file for 'qemu' # Template file for 'qemu'
pkgname=qemu pkgname=qemu
version=2.2.1 version=2.2.1
revision=2 revision=3
short_desc="Open Source Processor Emulator" short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://qemu.org" homepage="http://qemu.org"
@ -66,8 +66,6 @@ do_build() {
} }
do_install() { do_install() {
make DESTDIR=${DESTDIR} install make DESTDIR=${DESTDIR} install
vinstall ${FILESDIR}/65-kvm.rules 644 usr/lib/udev/rules.d
# qemu-bridge-helper must be setuid for non privileged users. # qemu-bridge-helper must be setuid for non privileged users.
chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper
} }