From: Peter Wagner <​tripolar@gmx.at> Date: Wed, 18 Sep 2013 18:20:29 +0000 (+0000) Subject: change ownership of the audiodevices to the pulse group to make it useable by pulseaudio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5ace50286d1d2c9167258f988c604c141fe537bd;p=openwrt%2Fsvn-archive%2Fpackages.git change ownership of the audiodevices to the pulse group to make it useable by pulseaudio Fixes #14175 Signed-off-by: Peter Wagner SVN-Revision: 38045 --- diff --git a/sound/pulseaudio/Makefile b/sound/pulseaudio/Makefile index 0fc979be8..467b2b7e1 100644 --- a/sound/pulseaudio/Makefile +++ b/sound/pulseaudio/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pulseaudio PKG_VERSION:=4.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/ diff --git a/sound/pulseaudio/files/pulseaudio.init b/sound/pulseaudio/files/pulseaudio.init index 4ac63b3c3..6ad6af3c0 100644 --- a/sound/pulseaudio/files/pulseaudio.init +++ b/sound/pulseaudio/files/pulseaudio.init @@ -20,6 +20,9 @@ start() { chmod 0750 /var/lib/pulse chown pulse:pulse /var/lib/pulse } + chown root:pulse /dev/snd/* /dev/mixer /dev/dsp + chmod 664 /dev/snd/* /dev/mixer /dev/dsp + service_start /usr/bin/pulseaudio --daemonize --system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 }