aboutsummaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-01-04 17:30:38 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-01-04 17:30:38 +0000
commit5f5052f120f048924800f35c3dfe52233695d05d (patch)
tree2fb3d57ccef75a0d4c55a88bc4622443b3d2ae0d /meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
parent46eb4a3dbcaeae7eb321d153a577e2ee6460f4c7 (diff)
parent2e80d187a650faceee9b73a966a1680fb5be6531 (diff)
Merge "Fix default.pa for 4a" into eeleel_5.0.0eel/5.0.05.0.0
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend13
1 files changed, 2 insertions, 11 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index 6b122f5e..d8a84990 100644
--- a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -1,16 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://90-4a-modules.pa"
+SRC_URI += "file://default.pa.4a"
-# Add .include directive to default.pa so optional configuration can be added
do_install_append () {
- if [ ! -e ${D}${sysconfdir}/pulse/default.d/ ]; then
- echo ".include ${sysconfdir}/pulse/default.d" >> ${D}${sysconfdir}/pulse/default.pa
- install -d ${D}${sysconfdir}/pulse/default.d
- fi
- install -m 0644 ${WORKDIR}/90-4a-modules.pa ${D}${sysconfdir}/pulse/default.d/
-
- for m in module-udev-detect module-suspend-on-idle;do
- sed -i -e "s|^load-module ${m}|#load-module ${m}|" ${D}${sysconfdir}/pulse/default.pa
- done
+ cp ${WORKDIR}/default.pa.4a ${D}${sysconfdir}/pulse/default.pa
}