[packages] change ownership of the audiodevices to the pulse group to make it useable
by pulseaudio Fixes #14175 Signed-off-by: Peter Wagner <tripolar@gmx.at> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38045 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
41bde01bd8
commit
a7b156b759
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pulseaudio
|
PKG_NAME:=pulseaudio
|
||||||
PKG_VERSION:=4.0
|
PKG_VERSION:=4.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/
|
PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/
|
||||||
|
@ -20,6 +20,9 @@ start() {
|
|||||||
chmod 0750 /var/lib/pulse
|
chmod 0750 /var/lib/pulse
|
||||||
chown pulse:pulse /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
|
service_start /usr/bin/pulseaudio --daemonize --system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user