X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-app-framework%2Fconf%2Finclude%2Fagl-appfw-smack.inc;h=139722402eee59f1e0489a6719e0ac93081d9049;hb=1c60ee48fe324b759313df30160bbb946691b695;hp=6c95de710ca59fd8d2af0bb95b7a45af01bf0733;hpb=48de89fbf1c66370d15c87b9dcab5371f180e5a4;p=AGL%2Fmeta-agl.git diff --git a/meta-app-framework/conf/include/agl-appfw-smack.inc b/meta-app-framework/conf/include/agl-appfw-smack.inc index 6c95de710..139722402 100644 --- a/meta-app-framework/conf/include/agl-appfw-smack.inc +++ b/meta-app-framework/conf/include/agl-appfw-smack.inc @@ -1,12 +1,19 @@ -# enable security features (smack, cynara) - required by Application Framework -OVERRIDES .= ":smack" -DISTRO_FEATURES_append = " smack dbus-cynara xattr" +# enable security features (smack, cynagora) - required by Application Framework +OVERRIDES .= ":with-lsm-smack" +DISTRO_FEATURES_append = " smack xattr" +DISTRO_FEATURES_NATIVE_append = " smack xattr" # use tar-native to support SMACK extended attributes independently of host config IMAGE_CMD_TAR = "tar --xattrs --xattrs-include='*'" -IMAGE_DEPENDS_tar_append = " tar-replacement-native" +do_image_tar[depends] += "tar-replacement-native:do_populate_sysroot" EXTRANATIVEPATH += "tar-native" # security: enable ssh server in place of dropbear to support PAM on user sessions IMAGE_FEATURES += "ssh-server-openssh" +# enforce copy of xattrs (to be removed, see SPEC-475) +PACKAGECONFIG_append_pn-shadow = " attr" +PACKAGECONFIG_append_pn-shadow-native = " attr" + +# set the home directory for root +ROOT_HOME = "/home/0"