aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-security/security-manager/security-manager_%.bbappend
blob: ec8435369c8922e96f55ac0fc5281400fb0bc190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FILESEXTRAPATHS_prepend := "${THISDIR}/security-manager:"

EXTRA_OECMAKE =+ " -DGLOBALUSER=afm"

SRC_URI += " \
   file://0001-Adapt-rules-to-AGL.patch \
"

do_install_append() {
   # Needed for wayland-0 socket access and memfd usage
   echo "~APP~ System::Weston rw" >> ${D}${datadir}/security-manager/policy/app-rules-template.smack
   echo "System::Weston ~APP~ rw" >> ${D}${datadir}/security-manager/policy/app-rules-template.smack
}