mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
layer.conf: Insert addpylib declaration
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>
This commit is contained in:
@@ -28,3 +28,4 @@ INHERIT += "sanity-meta-security"
|
||||
|
||||
QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
@@ -33,3 +33,5 @@ INHERIT += "sanity-meta-integrity"
|
||||
BBFILES_DYNAMIC += " \
|
||||
networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
|
||||
"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
@@ -13,3 +13,5 @@ LAYERSERIES_COMPAT_scanners-layer = "mickledore"
|
||||
LAYERDEPENDS_scanners-layer = "core openembedded-layer meta-python"
|
||||
|
||||
BBLAYERS_LAYERINDEX_NAME_scanners-layer = "meta-security-compliance"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
@@ -15,3 +15,5 @@ LAYERVERSION_security-isafw = "1"
|
||||
LAYERDEPENDS_security-isafw = "core"
|
||||
|
||||
LAYERSERIES_COMPAT_security-isafw = "mickledore"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
@@ -24,3 +24,5 @@ INHERIT += "sanity-meta-tpm"
|
||||
BBFILES_DYNAMIC += " \
|
||||
networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
|
||||
"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
||||
Reference in New Issue
Block a user