From: Jose Bollo Date: Wed, 4 Dec 2019 11:00:59 +0000 (+0100) Subject: Introduce widget type application/vnd.agl.resource X-Git-Tag: 8.99.4~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=1b3afac6a3f2f7f64c155d424c132522f4987ac8 Introduce widget type application/vnd.agl.resource 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 --- 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 - -