X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-app-framework%2Fconf%2Finclude%2Fagl-appfw-smack.inc;h=b6b998a9bee8dbe6b7cf028a98750abcb14890ac;hb=f896bb055edb01931e4e3b79360aae86d7abb6b0;hp=133f6b04ca5ed8468cda5c2752a2cf97caf7825e;hpb=84359dab292d9cfc2ad66800c8d1765ce32c717b;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 133f6b04c..b6b998a9b 100644 --- a/meta-app-framework/conf/include/agl-appfw-smack.inc +++ b/meta-app-framework/conf/include/agl-appfw-smack.inc @@ -1,10 +1,10 @@ # enable security features (smack, cynara) - required by Application Framework -OVERRIDES .= ":smack" -DISTRO_FEATURES_append = " smack dbus-cynara xattr" +OVERRIDES .= ":with-lsm-smack" +DISTRO_FEATURES_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 @@ -14,3 +14,5 @@ IMAGE_FEATURES += "ssh-server-openssh" PACKAGECONFIG_append_pn-shadow = " attr" PACKAGECONFIG_append_pn-shadow-native = " attr" +# set the home directory for root +ROOT_HOME = "/home/0"