Message ID | 20230517172630.3538600-2-akuster808@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-security,1/2] samhain: Update to 4.4.10 | expand |
diff --git a/conf/layer.conf b/conf/layer.conf index b5a74f1..334a945 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -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 diff --git a/meta-integrity/conf/layer.conf b/meta-integrity/conf/layer.conf index b273b5b..0622a5f 100644 --- a/meta-integrity/conf/layer.conf +++ b/meta-integrity/conf/layer.conf @@ -33,3 +33,5 @@ INHERIT += "sanity-meta-integrity" BBFILES_DYNAMIC += " \ networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \ " + +addpylib ${LAYERDIR}/lib oeqa diff --git a/meta-security-compliance/conf/layer.conf b/meta-security-compliance/conf/layer.conf index 82409a6..cb33c2c 100644 --- a/meta-security-compliance/conf/layer.conf +++ b/meta-security-compliance/conf/layer.conf @@ -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 diff --git a/meta-security-isafw/conf/layer.conf b/meta-security-isafw/conf/layer.conf index 550cced..fca5868 100644 --- a/meta-security-isafw/conf/layer.conf +++ b/meta-security-isafw/conf/layer.conf @@ -15,3 +15,5 @@ LAYERVERSION_security-isafw = "1" LAYERDEPENDS_security-isafw = "core" LAYERSERIES_COMPAT_security-isafw = "mickledore" + +addpylib ${LAYERDIR}/lib oeqa diff --git a/meta-tpm/conf/layer.conf b/meta-tpm/conf/layer.conf index 12bd6b7..3b199f7 100644 --- a/meta-tpm/conf/layer.conf +++ b/meta-tpm/conf/layer.conf @@ -24,3 +24,5 @@ INHERIT += "sanity-meta-tpm" BBFILES_DYNAMIC += " \ networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \ " + +addpylib ${LAYERDIR}/lib oeqa
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> --- conf/layer.conf | 1 + meta-integrity/conf/layer.conf | 2 ++ meta-security-compliance/conf/layer.conf | 2 ++ meta-security-isafw/conf/layer.conf | 2 ++ meta-tpm/conf/layer.conf | 2 ++ 5 files changed, 9 insertions(+)