From 4f888279f132faf35caf92d4828f134f6daeb9a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 14 Feb 2020 10:37:56 +0100 Subject: [PATCH 1/1] Fix homescreen start on yocto/Zeus Replacing BindsTo by Requires fix the start issue of the homescreen that complained with the message systemd[1]: afm-appli-homescreen--0.1--main@1001.service: ... ... Bound to unit afm-api-vshl-core@1001.service, but unit isn't active. Bug-AGL: SPEC-3178 Change-Id: I8df50354128d319f3dfc93b4d10848ecafdb6773 Signed-off-by: Jose Bollo --- conf/unit/service.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/unit/service.inc b/conf/unit/service.inc index a520e3b..81554d2 100644 --- a/conf/unit/service.inc +++ b/conf/unit/service.inc @@ -55,14 +55,14 @@ ConditionSecurity=smack # Automatic bound to required api {{#required-binding}} {{#value=extern}} -BindsTo=UNIT_NAME_BINDING_SERVICE({{name}}) +Requires=UNIT_NAME_BINDING_SERVICE({{name}}) After=UNIT_NAME_BINDING_SERVICE({{name}}) {{/value=extern}} {{/required-binding}} {{#required-api}} {{#value=auto|ws}} -BindsTo=UNIT_NAME_API_SERVICE({{name}}) +Requires=UNIT_NAME_API_SERVICE({{name}}) After=UNIT_NAME_API_SERVICE({{name}}) {{/value=auto|ws}} {{/required-api}} -- 2.16.6