lightmediascanner.service: Fix for the first boot 19/22619/2
authorLeon Anavi <leon.anavi@konsulko.com>
Thu, 10 Oct 2019 19:08:26 +0000 (22:08 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 14 Oct 2019 18:13:21 +0000 (18:13 +0000)
commit6e46d2f96ca151fbe489b7a1d963ff9f9c998b42
treed8717a0bdedc000dfc120934162308470e0aed95
parent315c4c03abfa16966bd9111c5898af66af806070
lightmediascanner.service: Fix for the first boot

Fix lightmediascanner systemd service to avoiding a race
condition with /var/volatile/tmp on the first boot by running it
after run-agl-postinsts.service. Furhtermore, for extra safety,
a restart on failure has been added.

Bug-AGL: SPEC-2869

Change-Id: Ib0cadfaa3b4da2a15ac3cfc04cf6d8174e63eb63
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
(cherry picked from commit 15c979005a29404bfc11da6055f29ee77254b876)
meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service