summaryrefslogtreecommitdiffstats
path: root/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-10-01 05:02:25 -0400
committerScott Murray <scott.murray@konsulko.com>2019-10-03 18:12:26 +0000
commit58bb58dda2b080f186696f8c06fa23c18fee0d8b (patch)
treee94c22c540d3ecdc91c44233b791c10e2af8db36 /meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
parentc63a424bb0459618b37640ef43fae725cff52ea4 (diff)
alexa-voiceagent-service: update config and database file paths
Add patch to alexa-voiceagent-service to update the default paths used for the database and configuration files to move them out of the binding installation hierarchy. This avoids the permissions problems stemming from the new security model of running as non-root. Also reworked the main configuration JSON file location logic to check for the file in /etc/xdg/AGL and then in AFM_WORKDIR (app-data directory), before falling back to the original location in var/config under the binding installation directory. Bug-AGL: SPEC-2845 Change-Id: Id7636435163005148a6291a56a1ada9896c0b3cc Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit c5b99b7e8608c1201293d84ba06e4a3ca501d9e8)
Diffstat (limited to 'meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb')
-rw-r--r--meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
index 279eb86b..296cf2d2 100644
--- a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
+++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
@@ -23,6 +23,7 @@ SRC_URI = "git://github.com/alexa/alexa-auto-sdk.git;protocol=https;branch=2.0 \
file://0001-remove-library-dependency-copying.patch \
file://0002-update-config.xml.in.patch \
file://0003-update-audio-device-configuration.patch \
+ file://0004-update-config-and-database-paths.patch \
"
SRCREV = "86916d2d8c1702a8be3c88a9012ca56583bcc0c8"