Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
af-platform-setup: Add recipe for setting platform
[AGL/meta-agl.git]
/
meta-app-framework
/
conf
/
include
/
agl-appfw-smack.inc
diff --git
a/meta-app-framework/conf/include/agl-appfw-smack.inc
b/meta-app-framework/conf/include/agl-appfw-smack.inc
index
90862cb
..
95092a9
100644
(file)
--- a/
meta-app-framework/conf/include/agl-appfw-smack.inc
+++ b/
meta-app-framework/conf/include/agl-appfw-smack.inc
@@
-1,12
+1,18
@@
# enable security features (smack, cynara) - required by Application Framework
# enable security features (smack, cynara) - required by Application Framework
-OVERRIDES .= ":smack"
-DISTRO_FEATURES_append = " smack dbus-cynara"
+OVERRIDES .= ":
with-lsm-
smack"
+DISTRO_FEATURES_append = " smack dbus-cynara
xattr
"
# use tar-native to support SMACK extended attributes independently of host config
# 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
"
+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"
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"