summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2023-05-17 13:24:54 -0400
committerArmin Kuster <akuster808@gmail.com>2023-05-22 09:49:16 -0400
commitea5e2ad93013754f78b4a55103cd43d154e73418 (patch)
treece07c6e9d339bf51cd2c1d54dfa6944f66d5d199
parent28d49dc0562b1c37e93484be2af7f94fffad7a4c (diff)
downloadmeta-security-ea5e2ad93013754f78b4a55103cd43d154e73418.tar.gz
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>
-rw-r--r--conf/layer.conf1
-rw-r--r--meta-integrity/conf/layer.conf2
-rw-r--r--meta-security-compliance/conf/layer.conf2
-rw-r--r--meta-security-isafw/conf/layer.conf2
-rw-r--r--meta-tpm/conf/layer.conf2
5 files changed, 9 insertions, 0 deletions
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"
28 28
29QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}" 29QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
30 30
31addpylib ${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"
33BBFILES_DYNAMIC += " \ 33BBFILES_DYNAMIC += " \
34networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \ 34networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
35" 35"
36
37addpylib ${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"
13LAYERDEPENDS_scanners-layer = "core openembedded-layer meta-python" 13LAYERDEPENDS_scanners-layer = "core openembedded-layer meta-python"
14 14
15BBLAYERS_LAYERINDEX_NAME_scanners-layer = "meta-security-compliance" 15BBLAYERS_LAYERINDEX_NAME_scanners-layer = "meta-security-compliance"
16
17addpylib ${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"
15LAYERDEPENDS_security-isafw = "core" 15LAYERDEPENDS_security-isafw = "core"
16 16
17LAYERSERIES_COMPAT_security-isafw = "mickledore" 17LAYERSERIES_COMPAT_security-isafw = "mickledore"
18
19addpylib ${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"
24BBFILES_DYNAMIC += " \ 24BBFILES_DYNAMIC += " \
25networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \ 25networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
26" 26"
27
28addpylib ${LAYERDIR}/lib oeqa