mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
Currently there is no default refpolicy provider and the user must specify it in local.conf. Set the default refpolicy provider to refpolicy-targeted in case the user doesn't set it. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILES_DYNAMIC += "openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
|
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
|
|
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \
|
|
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bbappend \
|
|
virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes*/*/*.bb \
|
|
virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes*/*/*.bbappend \
|
|
meta-python2:${LAYERDIR}/dynamic-layers/python2-layer/recipes*/*/*.bb \
|
|
meta-python2:${LAYERDIR}/dynamic-layers/python2-layer/recipes*/*/*.bbappend \
|
|
"
|
|
|
|
BBFILE_COLLECTIONS += "selinux"
|
|
BBFILE_PATTERN_selinux = "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_selinux = "5"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_selinux = "1"
|
|
|
|
LAYERSERIES_COMPAT_selinux = "honister"
|
|
|
|
LAYERDEPENDS_selinux = " \
|
|
core \
|
|
meta-python \
|
|
"
|
|
|
|
PREFERRED_PROVIDER_virtual/refpolicy ??= "refpolicy-targeted"
|