aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-security/security-manager/security-manager_%.bbappend
blob: ba3365f123f5f0b13d96b3a75aebdecb5d1d58cc (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
}