summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/conf/include/agl-appfw-smack.inc
diff options
context:
space:
mode:
authorRonan <ronan.lemartret@iot.bzh>2017-01-20 16:30:39 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-26 14:14:55 +0000
commit9153078094ced14ad313fdafde302ba385d9a6b6 (patch)
tree5ee6b376d8bf9c47089720932ffa2da6ebbd1d62 /meta-app-framework/conf/include/agl-appfw-smack.inc
parenta327fd4174936179f0ddf05b27019415c657f278 (diff)
Move feature code into the meta recipes
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf * move feature/agl-demo to meta-agl-demo Change-Id: I6db3956da8091bf583b20fce7dc184bfe622a85a Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-app-framework/conf/include/agl-appfw-smack.inc')
-rw-r--r--meta-app-framework/conf/include/agl-appfw-smack.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-app-framework/conf/include/agl-appfw-smack.inc b/meta-app-framework/conf/include/agl-appfw-smack.inc
new file mode 100644
index 0000000..90862cb
--- /dev/null
+++ b/meta-app-framework/conf/include/agl-appfw-smack.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"
+