Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
/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>
|
|
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>
|
|
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>
|