weston: add weston-ready 37/18637/2
authorScott Murray <scott.murray@konsulko.com>
Fri, 7 Dec 2018 16:43:59 +0000 (11:43 -0500)
committerScott Murray <scott.murray@konsulko.com>
Mon, 10 Dec 2018 18:47:27 +0000 (18:47 +0000)
commit1d32761ed7d757fb37b7ee5393cc332107017019
tree0f53565a9f0cf3a12f4aff8b33cda8fd71bcccc9
parent77a9596bdfb24711c27eb34f26d528ae99f2b82e
weston: add weston-ready

Weston seems to take variable amounts of time to initialize on startup
depending on configuration (e.g. gst-record feature being enabled for
cluster support).  To avoid windowmanager and its dependencies failing,
patch LayerManagerControl so that errors can be detected; then use it
in a new script, weston-ready, to detect if Weston is functional.  A
corresponding systemd service unit is also added so that things can
use it in their dependencies.

Change-Id: I5711e7f9d9a891e1c7a160b5d65711bd6e7fee03
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension/0002-add-LayerManagerControl-error-status.patch [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension_2.0.2.bb
meta-agl-profile-graphical/recipes-graphics/wayland/weston-ready/weston-ready [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-ready/weston-ready.service [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-ready_1.0.bb [new file with mode: 0644]
meta-agl-profile-graphical/recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bb