[meta-security][PATCH] layer.conf: Added BBFILES_DYNAMIC for dynamic-layers.


Armin Kuster
 

merged,
thanks

On 5/18/22 20:47, leimaohui wrote:
Signed-off-by: Lei Maohui <leimaohui@...>
---
conf/layer.conf | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 1f83593..0c532fa 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -13,6 +13,13 @@ LAYERSERIES_COMPAT_security = "kirkstone"
LAYERDEPENDS_security = "core openembedded-layer perl-layer networking-layer meta-python"
+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 \
+"
+
# Sanity check for meta-security layer.
# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
INHERIT += "sanity-meta-security"


leimaohui
 

Signed-off-by: Lei Maohui <leimaohui@...>
---
conf/layer.conf | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 1f83593..0c532fa 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -13,6 +13,13 @@ LAYERSERIES_COMPAT_security = "kirkstone"

LAYERDEPENDS_security = "core openembedded-layer perl-layer networking-layer meta-python"

+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 \
+"
+
# Sanity check for meta-security layer.
# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
INHERIT += "sanity-meta-security"
--
2.25.1