summaryrefslogtreecommitdiff
path: root/source/a/eudev/0001-fix-default-rules.patch
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-09-26 21:18:33 +0000
committerEric Hameleers <alien@slackware.com>2018-09-27 09:00:30 +0200
commit23035b95d979a02036bab2212baef88521828274 (patch)
tree5804993bafbe3a5e57774308608d433e77fdf9db /source/a/eudev/0001-fix-default-rules.patch
parent6371ee337f229ef7fd9dc4800b593589def96747 (diff)
downloadcurrent-23035b95d979a02036bab2212baef88521828274.tar.gz
Wed Sep 26 21:18:33 UTC 201820180926211833
a/aaa_terminfo-6.1_20180923-x86_64-1.txz: Upgraded. a/eudev-3.2.6-x86_64-3.txz: Rebuilt. Fixed issues with the default rules. Thanks to zuriel. a/kernel-generic-4.14.72-x86_64-1.txz: Upgraded. a/kernel-huge-4.14.72-x86_64-1.txz: Upgraded. a/kernel-modules-4.14.72-x86_64-1.txz: Upgraded. ap/vim-8.1.0436-x86_64-1.txz: Upgraded. d/kernel-headers-4.14.72-x86-1.txz: Upgraded. d/re2c-1.1.1-x86_64-1.txz: Upgraded. k/kernel-source-4.14.72-noarch-1.txz: Upgraded. l/ncurses-6.1_20180923-x86_64-1.txz: Upgraded. n/fetchmail-6.3.26-x86_64-5.txz: Rebuilt. Patched to fix certificate verification failures with OpenSSL 1.1.1. Thanks to Jurgen Van Ham. n/gnutls-3.6.4-x86_64-1.txz: Upgraded. x/xf86-video-intel-20180906_25c9a2fc-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0436-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a/eudev/0001-fix-default-rules.patch')
-rw-r--r--source/a/eudev/0001-fix-default-rules.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/source/a/eudev/0001-fix-default-rules.patch b/source/a/eudev/0001-fix-default-rules.patch
new file mode 100644
index 00000000..adbdf499
--- /dev/null
+++ b/source/a/eudev/0001-fix-default-rules.patch
@@ -0,0 +1,37 @@
+From a8ffcd1b985fb4b3e2c3a1cb9051bed86f69d3f3 Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <blueness@gentoo.org>
+Date: Fri, 21 Sep 2018 08:26:33 -0400
+Subject: [PATCH] rules/50-udev-default.rules: fix issue 160
+
+Thanks Joel Barrios (darkshram).
+
+Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
+---
+ rules/50-udev-default.rules | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
+index 191f56f42..c2f4a19ec 100644
+--- a/rules/50-udev-default.rules
++++ b/rules/50-udev-default.rules
+@@ -36,8 +36,8 @@ SUBSYSTEM=="dvb", GROUP="video"
+ SUBSYSTEM=="media", GROUP="video"
+ SUBSYSTEM=="cec", GROUP="video"
+
+-SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="@GROUP_RENDER_MODE@"
+-SUBSYSTEM=="kfd", GROUP="render", MODE="@GROUP_RENDER_MODE@"
++SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="video", MODE="0666"
++SUBSYSTEM=="kfd", GROUP="video", MODE="0666"
+
+ SUBSYSTEM=="sound", GROUP="audio", \
+ OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
+@@ -79,7 +79,7 @@ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
+ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
+
+ # The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
+-KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
++KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"
+
+ SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
+
+