summaryrefslogtreecommitdiff
path: root/system/kvm-kmod/fixup_udev_rules.diff
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2012-02-12 12:04:12 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2012-02-18 09:12:29 -0200
commit06a7b9a7bcbf8dd3379a46c597bbfcb10ffeab9a (patch)
treea72c9652dc6da9230d0a503e810d07ef533de75e /system/kvm-kmod/fixup_udev_rules.diff
parent55af8aafe047de2f557ca64b0d3fce6771ad44a9 (diff)
downloadslackbuilds-06a7b9a7bcbf8dd3379a46c597bbfcb10ffeab9a.tar.gz
system/kvm-kmod: Updated for version 3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/fixup_udev_rules.diff')
-rw-r--r--system/kvm-kmod/fixup_udev_rules.diff7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/kvm-kmod/fixup_udev_rules.diff b/system/kvm-kmod/fixup_udev_rules.diff
new file mode 100644
index 0000000000..24f34879e5
--- /dev/null
+++ b/system/kvm-kmod/fixup_udev_rules.diff
@@ -0,0 +1,7 @@
+diff -Nur kvm-kmod-3.2.orig/scripts/65-kvm.rules kvm-kmod-3.2/scripts/65-kvm.rules
+--- kvm-kmod-3.2.orig/scripts/65-kvm.rules 2012-01-08 07:02:08.000000000 -0600
++++ kvm-kmod-3.2/scripts/65-kvm.rules 2012-02-12 11:59:06.317519510 -0600
+@@ -1,2 +1,2 @@
+-KERNEL=="kvm", MODE="0660", GROUP="kvm"
++KERNEL=="kvm", MODE="0660", GROUP="@KVMGROUP@"
+ ACTION=="add|change", SUBSYSTEM=="dmi", KERNEL=="id", RUN+="/bin/sh -c 'grep -q vmx /proc/cpuinfo && /sbin/modprobe kvm-intel; grep -q svm /proc/cpuinfo && /sbin/modprobe kvm-amd'"