[Lunar-commits] r23947 - moonbase/trunk/devel/kvm

Auke Kok sofar at lunar-linux.org
Fri Apr 6 17:55:07 CEST 2007


Author: sofar
Date: 2007-04-06 17:55:07 +0200 (Fri, 06 Apr 2007)
New Revision: 23947

Modified:
   moonbase/trunk/devel/kvm/BUILD
Log:
Install udev rule to make /dev/kvm belong to group 'kvm'. add yourself
to the kvm group to use the kvm accelleration without root privs.


Modified: moonbase/trunk/devel/kvm/BUILD
===================================================================
--- moonbase/trunk/devel/kvm/BUILD	2007-04-06 15:17:33 UTC (rev 23946)
+++ moonbase/trunk/devel/kvm/BUILD	2007-04-06 15:55:07 UTC (rev 23947)
@@ -1,8 +1,11 @@
 (
 
+  echo 'KERNEL=="kvm", NAME="%k", GROUP="kvm"' > 99-kvm.rules &&
+
   add_priv_group kvm &&
   ./configure --prefix=/usr --with-patched-kernel \
               --qemu-cc=${GCC3_PREFIX:-/opt/lunar/gcc3}/bin/gcc &&
-  default_make
+  default_make &&
+  install -m0644 99-kvm.rules /etc/udev/rules.d/
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list