[Lunar-commits] <moonbase-other> qemu: add an udev rules file.

Florin Braescu florin at lunar-linux.org
Sat Feb 2 09:51:13 CET 2013


commit a0f63dc2ee1f23b864df7cb178f771fdb779161f
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 02 Feb 2013 00:51:13 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/a0f63dc2ee1f23b864df7cb178f771fdb779161f

qemu: add an udev rules file.
---
  virtual/qemu/65-kvm.rules | +1/-0     
  virtual/qemu/BUILD        | +9/-0     
  2 files changed, 10 insertions(+)

--- /dev/null
+++ b/virtual/qemu/65-kvm.rules
@@ -0,0 +1 @@
+KERNEL=="kvm", GROUP="kvm", MODE="0660"
--- a/virtual/qemu/BUILD
+++ b/virtual/qemu/BUILD
@@ -6,10 +6,19 @@
 
   ./configure --prefix=/usr  \
               --sysconfdir=/etc  \
+              --audio-drv-list=oss,alsa,sdl  \
+              --audio-card-list=ac97,sb16,es1370,hda  \
+              --enable-mixemu  \
               $OPTS  &&
 
   default_make  &&
 
+# bridge_helper needs suid
+  chmod u+s "/usr/libexec/qemu-bridge-helper"  &&
+
+  mkdir -p /usr/lib/udev/rules.d  &&
+  install -m644 $SCRIPT_DIRECTORY/65-kvm.rules /usr/lib/udev/rules.d/65-kvm.rules  &&
+
   # qemu-doc.html may not exist, but it will be ignored if that is the case
   gather_docs TODO qemu-doc.html
 




More information about the Lunar-commits mailing list