mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
Yocto mickledore introduced the addpylib directive for explicitly adding layer paths to the PYTHONPATH. Standalone OEQA test suite discovery does not require this directive but it is required to import test cases from other layers, e.g. to extend and modify the test cases. Signed-off-by: Armin Kuster <akuster808@gmail.com>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "security"
|
|
BBFILE_PATTERN_security = "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_security = "8"
|
|
|
|
LAYERSERIES_COMPAT_security = "mickledore"
|
|
|
|
LAYERDEPENDS_security = "core openembedded-layer"
|
|
|
|
BBFILES_DYNAMIC += " \
|
|
perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bb \
|
|
perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bbappend \
|
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
|
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
|
|
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
|
|
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
|
|
"
|
|
|
|
# Sanity check for meta-security layer.
|
|
# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
|
|
INHERIT += "sanity-meta-security"
|
|
|
|
QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
|
|
|
|
addpylib ${LAYERDIR}/lib oeqa
|