summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorValentine Barshak <valentine.barshak@cogentembedded.com>2018-04-04 19:30:15 +0300
committerValentine Barshak <valentine.barshak@cogentembedded.com>2018-04-05 01:47:53 +0300
commit90b2563d7ee3b27e7a27df525525ed793231b1c5 (patch)
treecb9bb15cf4e4dd39538606acff3a4eeb4f9a35ed /meta-rcar-gen3-adas
parent1638b9f1349220a561480c5717756b73bc197e68 (diff)
recipes-multimedia: pulseaudio: Fix INITSCRIPT variables
This fixes pulseaudio daemon INITSCRIPT variables. These variables are used by update-rc.d class for enabling the daemon in the root filesystem. Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
index 06710e9..7d28801 100644
--- a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
+++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/pulseaudio_8.0.bbappend
@@ -14,8 +14,9 @@ SRC_URI_append_rcar-gen3 = " \
inherit update-rc.d
-INITSCRIPT_NAME = "pulseaudio"
-INITSCRIPT_PARAMS = "defaults 30"
+INITSCRIPT_PACKAGES = "${PN}-server"
+INITSCRIPT_NAME_${PN}-server = "pulseaudio"
+INITSCRIPT_PARAMS_${PN}-server = "defaults 30"
do_install_append_rcar-gen3() {
install -d ${D}/etc/init.d
@@ -33,8 +34,6 @@ do_install_append_rcar-gen3() {
install -d ${D}/${sysconfdir}/dbus-1/system.d
install -m 644 ${WORKDIR}/pulseaudio-bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
install -m 644 ${WORKDIR}/pulseaudio-ofono.conf ${D}/${sysconfdir}/dbus-1/system.d/
-
- update-rc.d -r ${D} pulseaudio defaults 30
}
FILES_${PN}-server += " \