aboutsummaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-06-27 11:15:30 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2018-06-28 22:06:47 +0200
commitd4f8551e2e951b1c492dac287755197d125a31a1 (patch)
treec089ffa6450538856f323da7fc5615a837096cc9 /meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a
parent53ca1e6c3b241c2b7c9eef7de2c3bf7a26df11d7 (diff)
meta-audio-4a-framework: align on eel with latest components revisions
This bump is based on recipes coming for eel branch (revision e029270): In 4A layer, we now have: * 4a-softmixer: SRCREV = "731c21e80ba45339b7dd9b8eae63accd3597d281" * 4a-hal-unicens: SRCREV = "${AGL_APP_REVISION}" * agl-service-audio-4a: SRCREV = "${AGL_APP_REVISION}" * 4a-hal-generic: SRCREV = "8142c7ed42167dff7e526952f91909d679453251" * 4a-mixer: SRCREV = "${AGL_APP_REVISION}" * 4a-alsa-core: SRCREV = "${AGL_APP_REVISION}" Change-Id: Ib5708e9551f0646e0206deac8795f3b09f5a0569 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb b/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb
index 2422743d..8aa50efa 100644
--- a/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb
+++ b/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
inherit cmake aglwgt pkgconfig
-DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0"
+DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0 lua"
do_aglwgt_deploy_append() {
cat <<'EOF' >${D}/${sysconfdir}/agl-postinsts/99_4A_service_patch.sh
@@ -31,7 +31,11 @@ done
sed -i '/\[Unit\]/ a Before=pulseaudio.service' $svcfile;
sed -i '/\[Unit\]/ a ConditionPathExistsGlob=/dev/snd/control*' $svcfile;
-sed -i -e 's|/usr/bin/afb-daemon\>|& --ldpath=/usr/libexec/agl/afb-aaaa/lib:/usr/libexec/agl/4a-alsa-core/lib|' $svcfile
+sed -i -e 's|/usr/bin/afb-daemon\>|& --ldpath=/usr/libexec/agl/4a-alsa-core/lib:/usr/libexec/agl/4a-hal/lib:/usr/libexec/agl/afb-aaaa/lib:/usr/libexec/agl/smixer/lib|' $svcfile
+
+# binder name matters: it must match "afbd-4a-*" => the config file (controller json file) that will be searched will be "policy-4a-*.json"
+sed -i -e 's|--name afbd-agl-\(.*\)|--name afbd-4a-\1|' $svcfile
+
echo "-- TMP 4A INSTALL FIX END"
EOF