summaryrefslogtreecommitdiffstats
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:18 +0000
commitcea93bc9f1f6709c83dd35f805ed0d60421d3da4 (patch)
tree9d65348de52a7116c49ecef247679d6dc3dac0ef /meta-agl-profile-core/recipes-multimedia
parentf09703a724c408820f887d31f77574b16a1ed7bd (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> (cherry picked from commit 03ef60ee0aed59deb1f554a3a194ad2ff54be276)
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