mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
pulseaudio: use default dbus policy file
This commit is contained in:
parent
7932f3f3c7
commit
8661d3feab
@ -1,33 +0,0 @@
|
|||||||
<?xml version="1.0"?><!--*-nxml-*-->
|
|
||||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
||||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
||||||
|
|
||||||
<!--
|
|
||||||
This file is part of PulseAudio.
|
|
||||||
|
|
||||||
PulseAudio is free software; you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU Lesser General Public License as
|
|
||||||
published by the Free Software Foundation; either version 2.1 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
PulseAudio is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
|
||||||
Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
|
||||||
License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<busconfig>
|
|
||||||
|
|
||||||
<!-- System-wide PulseAudio runs as 'root' user. This fragment is
|
|
||||||
not necessary for user PulseAudio instances. -->
|
|
||||||
|
|
||||||
<policy user="root">
|
|
||||||
<allow own="org.pulseaudio.Server"/>
|
|
||||||
<allow send_destination="org.pulseaudio.Server"/>
|
|
||||||
<allow receive_sender="org.pulseaudio.Server"/>
|
|
||||||
</policy>
|
|
||||||
|
|
||||||
</busconfig>
|
|
@ -80,7 +80,8 @@ post_makeinstall_target() {
|
|||||||
safe_remove ${INSTALL}/usr/share/bash-completion
|
safe_remove ${INSTALL}/usr/share/bash-completion
|
||||||
|
|
||||||
cp ${PKG_DIR}/config/system.pa ${INSTALL}/etc/pulse/
|
cp ${PKG_DIR}/config/system.pa ${INSTALL}/etc/pulse/
|
||||||
cp ${PKG_DIR}/config/pulseaudio-system.conf ${INSTALL}/etc/dbus-1/system.d/
|
|
||||||
|
sed 's/user="pulse"/user="root"/' -i ${INSTALL}/etc/dbus-1/system.d/pulseaudio-system.conf
|
||||||
|
|
||||||
mkdir -p ${INSTALL}/usr/config
|
mkdir -p ${INSTALL}/usr/config
|
||||||
cp -PR ${PKG_DIR}/config/pulse-daemon.conf.d ${INSTALL}/usr/config
|
cp -PR ${PKG_DIR}/config/pulse-daemon.conf.d ${INSTALL}/usr/config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user