From 1b3afac6a3f2f7f64c155d424c132522f4987ac8 Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Wed, 4 Dec 2019 12:00:59 +0100 Subject: Introduce widget type application/vnd.agl.resource MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The widget type application/vnd.agl.resource doesn't brings service. It can be used to provide a binding to the system. Bug-AGL: SPEC-3057 Bug-AGL: SPEC-1663 Change-Id: I5c900865b8eeec494953942c8069dfefe254a85c Signed-off-by: José Bollo --- conf/system/afm-system-setup.sh.in | 1 + conf/unit/service.inc | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/conf/system/afm-system-setup.sh.in b/conf/system/afm-system-setup.sh.in index c3f827e..b7a3c5d 100644 --- a/conf/system/afm-system-setup.sh.in +++ b/conf/system/afm-system-setup.sh.in @@ -13,6 +13,7 @@ dodir $pdir dodir $pdir/display dodir $pdir/apis dodir $pdir/apis/ws +dodir $pdir/apis/link @create_platform_debug@ spdir=@afm_scope_platform_dir@ diff --git a/conf/unit/service.inc b/conf/unit/service.inc index 0036cae..a520e3b 100644 --- a/conf/unit/service.inc +++ b/conf/unit/service.inc @@ -146,6 +146,14 @@ include(binder.inc) ExecStart={{:#metadata.install-dir}}/{{content.src}} {{/content.type=application/x-executable}} +;------------------------------------------------------------------------------- +;---- application/vnd.agl.resource ---- +;------------------------------------------------------------------------------- +{{#content.type=application/vnd.agl.resource}} +Type=oneshot +ExecStart=/bin/true +{{/content.type=application/vnd.agl.resource}} + IF_PERM(:system:run-by-default) ;------------------------------------------------------------------------------- ; auto start @@ -161,5 +169,3 @@ ENDIF ENDIF %end systemd-unit - - -- cgit 1.2.3-korg