bluez-alsa: simplify creation of /run/bluealsa
This commit is contained in:
parent
620e07ac2f
commit
ecc7b9f11c
2 changed files with 3 additions and 7 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
dir=/var/run/bluealsa
|
||||
user=_bluez_alsa
|
||||
group=audio
|
||||
|
||||
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
|
||||
exec chpst -u $user:$group bluealsa $OPTS
|
||||
vinstall -d -m0755 -o _bluez_alsa -g audio /run/bluealsa
|
||||
exec chpst -u _bluez_alsa:audio bluealsa $OPTS
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bluez-alsa'
|
||||
pkgname=bluez-alsa
|
||||
version=1.3.1
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-aac --disable-hcitop --enable-debug"
|
||||
hostmakedepends="pkg-config automake libtool"
|
||||
|
|
Loading…
Add table
Reference in a new issue