aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-multimedia
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-07-26 02:54:29 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-07-26 09:30:11 +0000
commit03ef60ee0aed59deb1f554a3a194ad2ff54be276 (patch)
treedf19e35100be25d47cbe413152bfcb7db20bc47a /meta-agl-profile-core/recipes-multimedia
parenta3564c68e9a5268ede1988a65559cb22a0fd98b5 (diff)
recipes-multimedia: lightmediascanner: move database to globally accessible area
On runtime the agl-service-mediaplayer needs to access the sqlite3 database from lightmediascanner. Thus the database needs to be in an accessible location, and with the correct permissions. Bug-AGL: SPEC-2655 Change-Id: Ia1fc9ce7fa2f782ebc1784e130152baebb441cad Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-multimedia')
-rw-r--r--meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
index b75e19e25..3a9d42b0d 100644
--- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
+++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
@@ -4,9 +4,8 @@ Description=Lightmediascanner (LMS)
[Service]
Type=dbus
BusName=org.lightmediascanner
-UMask=0077
SmackProcessLabel=User::App::agl-service-mediascanner
-ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/run/user/%U/usrshr/lightmediascannerd.db --directory=/media --directory=/home/0/Music --directory=/home/0/Videos
+ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/var/volatile/tmp/lightmediascannerd.db --directory=/media --directory=/home/0/Music --directory=/home/0/Videos
[Install]
WantedBy=multi-user.target