summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-05-09 07:36:11 -0700
committerArmin Kuster <akuster808@gmail.com>2017-05-14 07:56:52 -0700
commitb20c1242f79873e9da0fc0f5b3902f095dc923e8 (patch)
tree4d3d02d1c5270bf7478643be20b6f75015f23089
parent08a233b61e4598c9347ce199a7bd66273f1ef21b (diff)
downloadmeta-security-b20c1242f79873e9da0fc0f5b3902f095dc923e8.tar.gz
layer-conf: Use *_FEATURES in LAYERDEPENDS
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--conf/layer.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 3502f0b..547a559 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -9,4 +9,8 @@ BBFILE_COLLECTIONS += "security"
9BBFILE_PATTERN_security = "^${LAYERDIR}/" 9BBFILE_PATTERN_security = "^${LAYERDIR}/"
10BBFILE_PRIORITY_security = "6" 10BBFILE_PRIORITY_security = "6"
11 11
12LAYERDEPENDS_security = "openembedded-layer perl-layer networking-layer filesystems-layer" 12LAYERDEPENDS_security = "core openembedded-layer perl-layer"
13LAYERDEPENDS_security += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnome-layer xfce-layer", "", d)}"
14LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm", "tpm-layer", "",d)}"
15LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "tpm-layer", "",d)}"
16LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "vtpm", "tpm-layer mete-filesystems", "",d)}"