Skip to contentSkip to conversation

layer: remove TPM layer depends and other dynamic ones.

PATCH In review Armin Kuster 2 participants 2 messages Jul 31, 2017 – Aug 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer: remove TPM layer depends and other dynamic ones.

include meta-python for AppArmor changes

---
 conf/layer.conf | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
conf/layer.conf +1 -5
index 0e524a1..0b066fd 100644
@@ -9,8 +9,4 @@ BBFILE_COLLECTIONS += "security"
 BBFILE_PATTERN_security = "^${LAYERDIR}/"
 BBFILE_PRIORITY_security = "6"
 
-LAYERDEPENDS_security = "core openembedded-layer perl-layer"
-LAYERDEPENDS_security += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnome-layer xfce-layer", "", d)}"
-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm", "tpm-layer", "",d)}"
-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "tpm-layer", "",d)}"
-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "vtpm", "tpm-layer meta-filesystems", "",d)}"
+LAYERDEPENDS_security = "core openembedded-layer perl-layer meta-python"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 18 lines · Armin Kuster

include meta-python for AppArmor changes

---
 conf/layer.conf | 6 +-----

 1 file changed, 1 insertion(+), 5 deletions(-)
conf/layer.conf +0 -0
index 0e524a1..0b066fd 100644
@@ -9,8 +9,4 @@ BBFILE_COLLECTIONS += "security"

 BBFILE_PATTERN_security = "^${LAYERDIR}/"
 BBFILE_PRIORITY_security = "6"

conf/layer.conf +0 -2
-LAYERDEPENDS_security = "core openembedded-layer perl-layer"
-LAYERDEPENDS_security += "${@bb.utils.contains("DISTRO_FEATURES",

"x11", "gnome-layer xfce-layer", "", d)}"

Quoted 8 lines

-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm", "tpm-layer", "",d)}"
-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "tpm-layer", "",d)}"
-LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "vtpm", "tpm-layer meta-filesystems", "",d)}" +LAYERDEPENDS_security = "core openembedded-layer perl-layer meta- python"

How does this affect recipes which depend on some of things in those layers?

I suspect that using meta-security without those other layers now results in a broken world build due to missing dependencies.

Signature · 6 lines
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.