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

Message ID 1652932061-3651-1-git-send-email-leimaohui@fujitsu.com
State Accepted, archived
Delegated to: Armin Kuster
Headers show
Series [meta-security] layer.conf: Added BBFILES_DYNAMIC for dynamic-layers. | expand

Commit Message

Maohui Lei (Fujitsu) May 19, 2022, 3:47 a.m. UTC
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
 conf/layer.conf | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

akuster808 May 23, 2022, 3:02 p.m. UTC | #1
merged,
thanks

On 5/18/22 20:47, leimaohui wrote:
> Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> ---
>   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"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#57137): https://lists.yoctoproject.org/g/yocto/message/57137
> Mute This Topic: https://lists.yoctoproject.org/mt/91201696/3616698
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

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"