af-main: Sign widgets when agl-devel 58/24158/10
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 11 Oct 2019 12:47:24 +0000 (14:47 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Apr 2020 14:26:21 +0000 (14:26 +0000)
commitf163201918c44a3c3d5788c078981cdfd2b7618a
treefa9cde6b87d3e50ba0cc2bbeb5123920ad8ac9d0
parentc935d161eef593b2d1b768126f614623c9276299
af-main: Sign widgets when agl-devel

This change introduce signature of widgets with
sample keys and certificates of app-framework-main
when the feature agl-devel is selected.

It also shows how to sign widgets in yocto build
environment, using WGTPKG_AUTOSIGN_X environment
variables.

v2: Use an own agl feature for the signing and not agl-devel
    This allows us to switch it on selectively.

Bug-AGL: SPEC-2840

Change-Id: I8f66c25a2ae62ad2365c7cdb995049c00b7c780a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-agl-profile-core/conf/include/agl-sign-wgts.inc [new file with mode: 0644]
meta-app-framework/classes/aglwgt.bbclass
meta-app-framework/recipes-core/af-main/af-main_git.bb
meta-app-framework/recipes-core/af-main/af-main_git.inc
meta-app-framework/recipes-core/af-main/nativesdk-af-main_git.bb
templates/feature/agl-sign-wgts/50_local.conf.inc [new file with mode: 0644]
templates/feature/agl-sign-wgts/README_feature_agl-sign-wgts.md [new file with mode: 0644]