summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/conf/include/agl-appfw-smack.inc
blob: f22fe715c6b0dee5e6ca5b65e2846e17b949b975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# enable security features (smack, cynagora) - required by Application Framework
OVERRIDES .= ":with-lsm-smack"
DISTRO_FEATURES:append = " smack xattr"
DISTRO_FEATURES_NATIVE:append = " smack xattr"

APPFW_ENABLED = "1"

# use tar-native to support SMACK extended attributes independently of host config
IMAGE_CMD_TAR = "tar --xattrs --xattrs-include='*'"
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"

# include devel wgts in images
IMAGE_FEATURES:append = " agl-devel-wgt"