af-main: Fix service and their socket activation 87/9787/2
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 23 Jun 2017 12:12:40 +0000 (14:12 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 23 Jun 2017 16:39:21 +0000 (16:39 +0000)
commit65f8170e4e060f7c3b3eb8cb4d76d7e804e1a688
treea5daf857683d0b9eb8dc8d6a7bcc8b37b308c844
parente46f5db0ed37fe912ed2f97e27280e8c681e547b
af-main: Fix service and their socket activation

The method to create shared services using websockets
was buggy. This patch correct it. It creates the directories
'sockets.target.wants' were the socket activations units
will be linked. It also makes correct reload and improves
the used paths.

Also fixes a masty infinite loop (spec-663).

AGL-Bug: SPEC-670
AGL-Bug: SPEC-663

Change-Id: I39d93f669498354a1c2f96bd735c0318a2f0e93a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9787
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-app-framework/recipes-core/af-main/af-main_1.0.bb
meta-app-framework/recipes-core/af-main/af-main_1.0.inc