Fix weston failed 09/10209/2
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Fri, 7 Jul 2017 16:32:53 +0000 (18:32 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 17 Jul 2017 13:13:24 +0000 (13:13 +0000)
commit351cd3117957a7f2fd3aacf96296632d67938ce4
tree32483e05393b9767e75f08efe2c863f07465f74a
parentdbaf564ef03621b4bbb641bb7b60d4f315c2e0e6
Fix weston failed

 * We need to add systemd udev device unit dependency to weston,
   If the system is slow udev rules is up when weston want to start,
   if the system is fast, udev rules may be down  when weston want to start.
 * TAG+="systemd" create a systemd device unit
 * ENV{SYSTEMD_WANTS}="weston.service" add dependency (Like BindsTo).

Bug-AGL: SPEC-603

Change-Id: I45d6513ea64cd071a60b53afd98d782e9300cefa
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10209
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl/recipes-graphics/wayland/weston-init.bbappend