summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-06-28 22:13:58 +0000
committerStephane Desneux <stephane.desneux@iot.bzh>2017-03-27 15:33:39 +0200
commit0e3e40dfb37be8626cf5f120cca80993978376e8 (patch)
treef6525aa880413c4a94e6a5bce8e129721781cc5e
parent97d659012e79cabacc4a26c4eb41a59bf0d5e1ab (diff)
add features agl-demo, agl-appfw-smack and agl-localdev
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>
-rw-r--r--templates/feature/agl-appfw-smack/50_bblayers.conf.inc7
-rw-r--r--templates/feature/agl-appfw-smack/50_local.conf.inc12
-rw-r--r--templates/feature/agl-appfw-smack/bblayers.conf.inc0
-rw-r--r--templates/feature/agl-appfw-smack/local.conf.inc0
4 files changed, 19 insertions, 0 deletions
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
index 000000000..6badef15e
--- /dev/null
+++ b/templates/feature/agl-appfw-smack/50_bblayers.conf.inc
@@ -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
index 000000000..90862cb09
--- /dev/null
+++ b/templates/feature/agl-appfw-smack/50_local.conf.inc
@@ -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
index e69de29bb..000000000
--- a/templates/feature/agl-appfw-smack/bblayers.conf.inc
+++ /dev/null
diff --git a/templates/feature/agl-appfw-smack/local.conf.inc b/templates/feature/agl-appfw-smack/local.conf.inc
deleted file mode 100644
index e69de29bb..000000000
--- a/templates/feature/agl-appfw-smack/local.conf.inc
+++ /dev/null