summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-multimedia/lightmediascanner
AgeCommit message (Collapse)AuthorFilesLines
2019-10-11lightmediascanner.service: Fix for the first bootLeon Anavi1-0/+4
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>
2019-07-29lightmediascanner: remove user media directories scanningMatt Ranostay1-1/+1
Since lightmediascanner is now a system service it shouldn't scan user directories of the running user. For any demo uses of preloaded media it should be put in a directory under /media Bug-AGL: SPEC-2655 Change-Id: Ib62527f0742673081e1f225e98fe7eff90738e0e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-26recipes-multimedia: lightmediascanner: move database to globally accessible areaMatt Ranostay1-2/+1
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>
2019-07-24recipes-multimedia: lightmediascanner: switch from user dbus session to systemMatt Ranostay4-15/+69
To avoid multiple instances of lightmediascanner from being created it should run only once in the system dbus session. Bug-AGL: SPEC-2655 Change-Id: I6c9510926f82ec9eb5625d63d08998a145504227 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19lightmediascanner: change db directoryJosé Bollo1-1/+2
Lightmediascanner runs for one user and should not be able to look over the the shoulder of other users. So it should not run as root anymore. At the moment, lightmediascanner is a user daemon started in the user session by systemd, without capabilities but with the Smack label "System". To allow the service-mediascanner to access its database, the db must be set in a specific place with the User::App-shared label. Bug-AGL: SPEC-1016 Change-Id: Id4546e2567c4f5a0a5139d274d35d11e4879e42e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-09-25recipes-multimedia: lightmediascanner: save database to ↵guppy_6.90.0guppy/6.90.06.90.0Matt Ranostay1-1/+1
/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 <matt.ranostay@konsulko.com>
2018-04-282nd part of the layer/profile rework [1/2]Jan-Simon Möller1-0/+10
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: agl-service move to meta-agl-profile-core. wayland/weston moves to meta-agl-profile-graphical. This patchset needs the 2nd patchset of the series to build (meta-agl-demo). Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: rebase including udiscs patches from meta-agl-demo Change-Id: I5e33f72d01707fa8b826d382bccaca3addcbbc47 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller8-0/+211
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>