alexa-voiceagent-service: update config and database file paths 43/22543/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 1 Oct 2019 09:02:25 +0000 (05:02 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 2 Oct 2019 14:45:41 +0000 (14:45 +0000)
commitc5b99b7e8608c1201293d84ba06e4a3ca501d9e8
tree779511c623694a4114dfe265945641d14f106133
parentfd3b0584b451333b0f0998317a466d047ac81bde
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>
meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service/0004-update-config-and-database-paths.patch [new file with mode: 0644]
meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb