aboutsummaryrefslogtreecommitdiffstats
path: root/main/eudev/default-rules.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-20 11:38:29 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-30 14:36:36 +0100
commitedfeb55d42dc2197f90a5154b4ef2e92b8265a72 (patch)
treeaf94f6ad5c7c932b57c571a34472d5037ba0d737 /main/eudev/default-rules.patch
parent15f770ff8ca13cd66ad4a2212b94da0e9eb8b465 (diff)
downloadaports-edfeb55d42dc2197f90a5154b4ef2e92b8265a72.tar.gz
aports-edfeb55d42dc2197f90a5154b4ef2e92b8265a72.tar.bz2
aports-edfeb55d42dc2197f90a5154b4ef2e92b8265a72.tar.xz
main/eudev: set group for /dev/kvm to 'kvm'
This is in accordance with the default mdev configuration file shipped by main/busybox-initscripts.
Diffstat (limited to 'main/eudev/default-rules.patch')
-rw-r--r--main/eudev/default-rules.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/eudev/default-rules.patch b/main/eudev/default-rules.patch
new file mode 100644
index 0000000000..0786a98261
--- /dev/null
+++ b/main/eudev/default-rules.patch
@@ -0,0 +1,9 @@
+--- a/rules/50-udev-default.rules
++++ b/rules/50-udev-default.rules
+@@ -73,5 +73,6 @@ KERNEL=="rfkill", MODE="0664"
+ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
+
+ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
++KERNEL=="kvm", GROUP="kvm", MODE="0660"
+
+ LABEL="default_end"