Mail archive
alpine-aports

[alpine-aports] [PATCH] main/busybox-initscripts: make mdev recognize dri devices on new kernels

From: Isaac Dunham <ibid.ag_at_gmail.com>
Date: Sun, 31 Jan 2016 19:18:37 -0800

--
When mdev is used with X, this allows users in group 'video' to use OpenGL,
instead of just users in 'root'.
A similar fix may be needed for eudev.
---
 main/busybox-initscripts/APKBUILD  | 8 ++++----
 main/busybox-initscripts/mdev.conf | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index 288d0c8..634107c 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=busybox-initscripts
 pkgver=2.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Init scripts for busybox daemons"
 url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
 arch="noarch"
_at_@ -65,7 +65,7 @@ c15ed9cb8657ec3dfab8f90d372cad20  udhcpd.initd
 22adbf155ffc4595206ded6daad07812  rdate.confd
 77fb31a75511247bf4e3430565a276bc  syslog.confd
 0bb55dde32f5e119111fa4938daaef3d  watchdog.confd
-8abcd27060ddaee01f1ba973c7582eb2  mdev.conf
+15cbc09ecbffe6762f261ba1936e37ba  mdev.conf
 ad1556961294e4aa2abca6be52138b7c  dvbdev
 5c8725b4cbdeda23b00f08124a0d20bf  ide_links
 daf57f3d0372f825ddc05b00973e5afe  usbdev
_at_@ -90,7 +90,7 @@ f6cd63d6e5f384dcb01a4906c9a0b6c5923794380235dfe0d79b48a686b03c5d  klogd.confd
 791d49802395861a5f788dc7436c1260ec2cd3bdea0c790952ae1b2dd518e811  rdate.confd
 8a2362d6b5b1ec1d754878726392119f2cc7416c748ee4f2ab134f731d6e6198  syslog.confd
 77f6f9069afdbb477a7e822aa2c7265d64fd22fdd9338bb3beb0cee901d202ce  watchdog.confd
-9516608efc871fead61a77923771e34288284f9055336872e77bb0202f2b3229  mdev.conf
+369b0d3f5ef9cfd703d9a00453d5eb27592db0ec21ac2aa83ad687c3f1492206  mdev.conf
 ef091bb4c8943a99b9a97b556cdc15ddd20275f5afa8287e201419b08c4e71de  dvbdev
 3fccc9ee437e3dcc8ac73bfe3713334a7156a112fe442e052fff4f26ff0f6a88  ide_links
 dcb0c37590019bccb4c31a5372cbf7728eae6f1174d56bf0708d7504243a5fbb  usbdev
_at_@ -115,7 +115,7 @@ b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54
 3d6c4d358e226e0c0462f2003bcf0b6787f91a53f4d6b6db5bfe7748bb0dd392d7cc454058ea8a9b649e8dd2629963a5ad1257c36af04367caeb1923f954daf7  rdate.confd
 330c6e6808dfdf05c75dcdec1048f17052f79b285e11513a64a97bf28fb60e023840966abe03a74fa146eb6b842c4e0e78df82918528e0b6e8f546f7f0a4e323  syslog.confd
 359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4  watchdog.confd
-82cd51655f056abb59ef33e9ad5819c22c729911995f7b27960c989a9be1fe8ef8ab36d356cb26da70ecdd881b3c201f6d6f7e191f8539b9365c7fe854413a81  mdev.conf
+a66ae33a6161fa5887cb423b7ce4923e665b82c71613fa5fe885f7e9e993229d4686f2d6110c85c735ecb627b2a72c56a912c43012def829a156e3f8b68bca71  mdev.conf
 ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d4e8f4294545d3a9ab6708ae2e77c5b108b5f091bbce8f94a  dvbdev
 0142234d0bda86ad1e5f88f1da34669e5fda46a0fd52ce507bd49ce74d2b7c12c323e8db863bccb924e6d632b568db8b243361b217c5b2e1d92a25feb6e62dec  ide_links
 b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a  usbdev
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index c0918cd..5605a17 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
_at_@ -56,6 +56,7 @@ slusb		root:dialout 0660 @ln -sf $MDEV slusb0
 fuse		root:root  0666
 
 # dri device
+dri/.*		root:video 0660
 card[0-9]	root:video 0660 =dri/
 
 # alsa sound devices and audio stuff
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Jan 31 2016 - 19:18:37 GMT