X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=meta-agl%2Fconf%2Fdistro%2Fpoky-agl.conf;h=e1dac683dd13e0bd3246bacea60fa622d7df0839;hb=refs%2Fchanges%2F75%2F5775%2F5;hp=1be2a96b878d70c5c95a847044e6a901c3dee379;hpb=c407a33fe8d808e4c1c6a15a524de179e658c696;p=AGL%2Fmeta-agl.git diff --git a/meta-agl/conf/distro/poky-agl.conf b/meta-agl/conf/distro/poky-agl.conf index 1be2a96b8..e1dac683d 100644 --- a/meta-agl/conf/distro/poky-agl.conf +++ b/meta-agl/conf/distro/poky-agl.conf @@ -130,3 +130,27 @@ WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ useless-rpaths" WARN_QA_remove = "${WARN_TO_ERROR_QA}" ERROR_QA_append = " ${WARN_TO_ERROR_QA}" + +# using multiple BSP layers causes dangling bbappends in meta-agl-bsp +# turn it into a warning +BB_DANGLINGAPPENDS_WARNONLY = "1" + +# enforce security-related compiler flags by default +require conf/distro/include/security_flags.inc + +# required overrides, upstreamed but not merged yet: +# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107727.html +SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}" + +# 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" +