summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-16 11:52:29 +0200
committerJohn Crispin <john@phrozen.org>2016-06-20 11:48:02 +0200
commit163cc22643cbf6fab3ea235db903050f30a6da5a (patch)
tree211e3b86e12537cbe9d408b757233b3ed91e2032
parente2d2b136b34e907e9258911537ce002b70e49133 (diff)
downloadmtk-20170518-163cc22643cbf6fab3ea235db903050f30a6da5a.zip
mtk-20170518-163cc22643cbf6fab3ea235db903050f30a6da5a.tar.gz
mtk-20170518-163cc22643cbf6fab3ea235db903050f30a6da5a.tar.bz2
procd: properly set /dev/snd permission and group
Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r--package/system/procd/Makefile4
-rw-r--r--package/system/procd/files/hotplug.json4
2 files changed, 6 insertions, 2 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index 0276f6f..784473d 100644
--- a/package/system/procd/Makefile
+++ b/package/system/procd/Makefile
@@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=procd
-PKG_VERSION:=2016-06-17
+PKG_VERSION:=2016-06-20
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=7104a2b149f0a870ec36ddff90b5f6a22c0d398d
+PKG_SOURCE_VERSION:=4d73a369b7c6b17a0e342b770afece8775c9d252
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json
index a1c9dc9..de8ba10 100644
--- a/package/system/procd/files/hotplug.json
+++ b/package/system/procd/files/hotplug.json
@@ -32,6 +32,10 @@
],
],
[ "if",
+ [ "regex", "DEVNAME", "^snd" ],
+ [ "makedev", "/dev/%DEVNAME%", "0660", "audio" ],
+ ],
+ [ "if",
[ "regex", "DEVNAME", "^ttyS" ],
[ "makedev", "/dev/%DEVNAME%", "0664" ],
],