diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-05-09 07:36:11 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-05-14 07:56:52 -0700 |
commit | b20c1242f79873e9da0fc0f5b3902f095dc923e8 (patch) | |
tree | 4d3d02d1c5270bf7478643be20b6f75015f23089 | |
parent | 08a233b61e4598c9347ce199a7bd66273f1ef21b (diff) | |
download | meta-security-b20c1242f79873e9da0fc0f5b3902f095dc923e8.tar.gz |
layer-conf: Use *_FEATURES in LAYERDEPENDS
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | conf/layer.conf | 6 |
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" | |||
9 | BBFILE_PATTERN_security = "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_security = "^${LAYERDIR}/" |
10 | BBFILE_PRIORITY_security = "6" | 10 | BBFILE_PRIORITY_security = "6" |
11 | 11 | ||
12 | LAYERDEPENDS_security = "openembedded-layer perl-layer networking-layer filesystems-layer" | 12 | LAYERDEPENDS_security = "core openembedded-layer perl-layer" |
13 | LAYERDEPENDS_security += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnome-layer xfce-layer", "", d)}" | ||
14 | LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm", "tpm-layer", "",d)}" | ||
15 | LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "tpm-layer", "",d)}" | ||
16 | LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "vtpm", "tpm-layer mete-filesystems", "",d)}" | ||