summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-24 18:43:00 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 18:43:00 +0100
commit3b59f5ff72dc32e9945e91808538bc4620ab4fe2 (patch)
tree7a8afb326838e8e0b5bdd9df3993135c4589b679 /meta-audio-4a-framework
parent7436db84e9fbd0404bf53a30cb4d7c7f1e273fc0 (diff)
agl-service-audio-4a: Fix issue when --verbose is repeated
Change-Id: Ic949f35e0f4fa29fc24ae69b443965f8f1ac99f8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb4
1 files changed, 2 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 457de1af..5165f949 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
@@ -18,7 +18,7 @@ DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0"
do_aglwgt_deploy_append() {
cat <<'EOF' >${D}/${sysconfdir}/agl-postinsts/99_4A_service_patch.sh
-N=100
+N=600
svcfile="/usr/local/lib/systemd/*/afm-service-agl-service-audio-4a*.service"
set -x
echo "-- TMP 4A INSTALL FIX from meta-agl/meta-app-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb - MUST BE REMOVED !!!"
@@ -28,7 +28,7 @@ while ! ls $svcfile > /dev/null; do
sleep 0.2
N=$(expr $N - 1)
done
-sed -i -e 's|--verbose |--verbose --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/afb-aaaa/lib:/usr/libexec/agl/4a-alsa-core/lib|' $svcfile
echo "-- TMP 4A INSTALL FIX END"
EOF