pulseaudio 1.1: only run volatiles script when populate-volatile.sh exists
Volatiles are handled differently in a systemd world make the postinst fail: //var/lib/opkg/info/pulseaudio-server.postinst: line 10: /etc/init.d/populate-volatile.sh: No such file or directory Collected errors: * pkg_run_script: package "pulseaudio-server" postinst script returned status 127. * opkg_configure: pulseaudio-server.postinst returned 127. (From OE-Core rev: d911635bdcb84bb162b49bca32c7c7867e56a023) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dd860e9a7a
commit
9922ac7b80
|
@ -95,7 +95,9 @@ pkg_postinst_${PN}-server() {
|
|||
adduser --disabled-password --home=/var/run/pulse --system \
|
||||
--ingroup pulse --no-create-home -g "Pulse audio daemon" pulse
|
||||
addgroup pulse audio
|
||||
/etc/init.d/populate-volatile.sh update
|
||||
if [ -e /etc/init.d/populate-volatile.sh ] ; then
|
||||
/etc/init.d/populate-volatile.sh update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm_${PN}-server() {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
require pulseaudio.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS += "libjson gdbm speex libxml-parser-perl-native"
|
||||
|
||||
inherit gettext perlnative
|
||||
|
|
Loading…
Reference in New Issue