add features agl-demo, agl-appfw-smack and agl-localdev
authorStephane Desneux <stephane.desneux@iot.bzh>
Tue, 28 Jun 2016 22:13:58 +0000 (22:13 +0000)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 27 Mar 2017 13:33:39 +0000 (15:33 +0200)
This is the application of the process proposed here:
https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html

Bug-AGL: SPEC-180

Change-Id: I0063db7ac2803d4ac9540b70be8024b40e97dab3
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
templates/feature/agl-appfw-smack/50_bblayers.conf.inc [new file with mode: 0644]
templates/feature/agl-appfw-smack/50_local.conf.inc [new file with mode: 0644]
templates/feature/agl-appfw-smack/bblayers.conf.inc [deleted file]
templates/feature/agl-appfw-smack/local.conf.inc [deleted file]

diff --git a/templates/feature/agl-appfw-smack/50_bblayers.conf.inc b/templates/feature/agl-appfw-smack/50_bblayers.conf.inc
new file mode 100644 (file)
index 0000000..6badef1
--- /dev/null
@@ -0,0 +1,7 @@
+BBLAYERS =+ " \
+       ${METADIR}/meta-agl/meta-agl-security \
+       ${METADIR}/meta-intel-iot-security/meta-security-smack \
+       ${METADIR}/meta-intel-iot-security/meta-security-framework \
+       ${METADIR}/meta-agl-extra/meta-app-framework \
+    "
+
diff --git a/templates/feature/agl-appfw-smack/50_local.conf.inc b/templates/feature/agl-appfw-smack/50_local.conf.inc
new file mode 100644 (file)
index 0000000..90862cb
--- /dev/null
@@ -0,0 +1,12 @@
+# enable security features (smack, cynara) - required by Application Framework
+OVERRIDES .= ":smack"
+DISTRO_FEATURES_append = " smack dbus-cynara"
+
+# use tar-native to support SMACK extended attributes independently of host config
+IMAGE_CMD_TAR = "tar --xattrs-include='*'"
+IMAGE_DEPENDS_tar_append = " tar-replacement-native"
+EXTRANATIVEPATH += "tar-native"
+
+# security: enable ssh server in place of dropbear to support PAM on user sessions
+IMAGE_FEATURES += "ssh-server-openssh"
+
diff --git a/templates/feature/agl-appfw-smack/bblayers.conf.inc b/templates/feature/agl-appfw-smack/bblayers.conf.inc
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/templates/feature/agl-appfw-smack/local.conf.inc b/templates/feature/agl-appfw-smack/local.conf.inc
deleted file mode 100644 (file)
index e69de29..0000000