From 74cf5051780a322cb81382971c93efb0306a5ef9 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Wed, 19 Sep 2018 04:20:07 +0300 Subject: recipes-multimedia: lightmediascanner: save database to /tmp/$UID/lightmediascannerd.db To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is better to generate on every bootup. Bug-AGL: SPEC-1744 Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6 Signed-off-by: Matt Ranostay --- .../lightmediascanner/files/lightmediascanner.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-agl-profile-core') 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 33cf27ed0..e53b24719 100644 --- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service +++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service @@ -4,7 +4,7 @@ Description=Lightmediascanner (LMS) [Service] Type=dbus BusName=org.lightmediascanner -ExecStart=/usr/bin/lightmediascannerd --startup-scan --directory=/media --directory=${HOME}/Music --directory=${HOME}/Videos +ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/tmp/%U/lightmediascannerd.db --directory=/media --directory=%h/Music --directory=%h/Videos [Install] WantedBy=default.target -- cgit 1.2.3-korg